I get slightly different boot messages and no prompt in the end
Could also not find how to show u-boot prompt.
Hub was already initialized, added to account and upgradedā¦
"
U-Boot 2014.01-14400-gda781c6-dirty (Apr 30 2014 - 22:35:38)
CPU: Freescale i.MX28 rev1.2 at 454 MHz
BOOT: NAND, 3V3
DRAM: 64 MiB
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: FEC0 [PRIME]
Hit any key to stop autoboot: 0
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=3"
UBI: MTD device size: 8 MiB
UBI: number of good PEBs: 64
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 6
UBI: total number of reserved PEBs: 58
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/2
UBIFS: recovery needed
UBIFS: recovery deferred
UBIFS: mounted UBI device 0, volume 0, name "database"
UBIFS: mounted read-only
UBIFS: file system size: 5459968 bytes (5332 KiB, 5 MiB, 43 LEBs)
UBIFS: journal size: 1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root: 269835 bytes (263 KiB)
Loading file 'DO_UPDATE' to addr 0x42000000 with size 1 (0x00000001)...
Done
Total of 1 word(s) were the same
NAND read: device 0 offset 0x2b00000, size 0x400000
4194304 bytes read: OK
## Booting kernel from Legacy Image at 42000000 ...
Image Name: Linux-2.6.35.3-flex-dvt
Created: 2014-04-30 3:15:35 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1928460 Bytes = 1.8 MiB
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.35.3-flex-dvt (saurabh@localhost.localdomain) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #32 PREEMPT Tue Apr 29 23:15:31 EDT 2014
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Freescale MX28EVK board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: noinitrd console=ttyAM0,115200 rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs rw gpmi
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60784k/60784k available, 4752k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xfde00000 - 0xffe00000 ( 32 MB)
vmalloc : 0x84800000 - 0xf0000000 (1720 MB)
lowmem : 0x80000000 - 0x84000000 ( 64 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.init : 0x80008000 - 0x80027000 ( 124 kB)
.text : 0x80027000 - 0x803b6000 (3644 kB)
.data : 0x803b6000 - 0x803deec0 ( 164 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:288
Console: colour dummy device 80x30
console [ttyAM0] enabled
Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
regulator: vddd: 800 <--> 1575 mV at 1500 mV fast normal
regulator: vdddbo: 800 <--> 1575 mV fast normal
regulator: vdda: 1500 <--> 2275 mV at 1800 mV fast normal
vddio = 3380000, val=10
regulator: vddio: 2880 <--> 3680 mV at 3380 mV fast normal
regulator: overall_current: fast normal
regulator: vbus5v:
regulator: mxs-duart-1: fast normal
regulator: mxs-bl-1: fast normal
regulator: mxs-i2c-1: fast normal
regulator: mmc_ssp-1: fast normal
regulator: mmc_ssp-2: fast normal
regulator: charger-1: fast normal
regulator: power-test-1: fast normal
regulator: cpufreq-1: fast normal
i.MX IRAM pool: 124 KB@0x84820000
Initializing GPMI pins
bio: create slab at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource mxs clock source
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
Bus freq driver module loaded
mxs_cpu_init: cpufreq init finished
Slow work thread pool: Starting up
Slow work thread pool: Ready
fuse init (API version 7.14)
msgmni has been set to 118
alg: No test for stdrng (krng)
cryptodev: driver loaded.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
mxs-duart.0: ttyAM0 at MMIO 0x80074000 (irq = 47) is a DebugUART
mxs-auart.0: ttySP0 at MMIO 0x8006a000 (irq = 112) is a mxs-auart.0
Found APPUART 3.1.0
mxs-auart.1: ttySP1 at MMIO 0x8006c000 (irq = 113) is a mxs-auart.1
Found APPUART 3.1.0
mxs-auart.2: ttySP2 at MMIO 0x8006e000 (irq = 114) is a mxs-auart.2
Found APPUART 3.1.0
mxs-auart.3: ttySP3 at MMIO 0x80070000 (irq = 115) is a mxs-auart.3
Found APPUART 3.1.0
mxs-auart.4: ttySP4 at MMIO 0x80072000 (irq = 116) is a mxs-auart.4
Found APPUART 3.1.0
loop: module loaded
i.MX GPMI NFC
NFC: Version 1, 8-chip GPMI and BCH
Boot ROM: Version 1, Single-chip boot area, block mark swapping supported
Scanning for NAND Flash chips...
NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD NAND 128MiB 3,3V 8-bit)
-----------------------------
NAND Flash Device Information
-----------------------------
Manufacturer : AMD (0x01)
Device Code : 0xf1
Cell Technology : SLC
Chip Size : 128 MiB
Pages per Block : 64
Page Geometry : 2048+64
ECC Strength : 4 bits
ECC Size : 512 B
Data Setup Time : 10 ns
Data Hold Time : 5 ns
Address Setup Time: 10 ns
GPMI Sample Delay : 6 ns
tREA : Unknown
tRLOH : Unknown
tRHOH : Unknown
Description : S34ML01G1
-----------------
Physical Geometry
-----------------
Chip Count : 1
Page Data Size in Bytes: 2048 (0x800)
Page OOB Size in Bytes : 64
Block Size in Bytes : 131072 (0x20000)
Block Size in Pages : 64 (0x40)
Chip Size in Bytes : 134217728 (0x8000000)
Chip Size in Pages : 65536 (0x10000)
Chip Size in Blocks : 1024 (0x400)
Medium Size in Bytes : 134217728 (0x8000000)
------------
NFC Geometry
------------
ECC Algorithm : BCH
ECC Strength : 8
Page Size in Bytes : 2112
Metadata Size in Bytes : 10
ECC Chunk Size in Bytes: 512
ECC Chunk Count : 4
Payload Size in Bytes : 2048
Auxiliary Size in Bytes: 16
Auxiliary Status Offset: 12
Block Mark Byte Offset : 1999
Block Mark Bit Offset : 0
-----------------
Boot ROM Geometry
-----------------
Boot Area Count : 1
Boot Area Size in Bytes : 3145728 (0x300000)
Stride Size in Pages : 64
Search Area Stride Exponent: 2
Scanning device for bad blocks
Boot area protection is enabled.
Creating 6 MTD partitions on "gpmi-nfc-main":
0x000000000000-0x000000300000 : "gpmi-nfc-0-boot"
0x000000300000-0x000000700000 : "updater-kernel"
0x000000700000-0x000002300000 : "updater-rootfs"
0x000002300000-0x000002b00000 : "database"
0x000002b00000-0x000003300000 : "app-kernel"
0x000003300000-0x000008000000 : "gpmi-nfc-general-use"
cmdlinepart partition parsing not available
UBI: attaching mtd5 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: attached mtd5 to ubi0
UBI: MTD device name: "gpmi-nfc-general-use"
UBI: MTD device size: 77 MiB
UBI: number of good PEBs: 616
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 616
UBI: number of PEBs reserved for bad PEB handling: 6
UBI: max/mean erase counter: 5/1
UBI: image sequence number: 1715806998
UBI: background thread "ubi_bgt0d" started, PID 922
ubiblka: unknown partition table
mice: PS/2 mouse device common for all mice
MXS RTC driver v1.0 hardware v2.3.0
mxs-rtc mxs-rtc.0: rtc core: registered mxs-rtc as rtc0
mxs watchdog: initialized, heartbeat 19 sec
mxs-mmc: MXS SSP Controller MMC Interface driver
__mxs_reset_block(f0010000): timeout when resetting
__mxs_reset_block(f0010000): timeout when resetting
__mxs_reset_block(f0010000): timeout when resetting
__mxs_reset_block(f0010000): timeout when resetting
__mxs_reset_block(f0010000): timeout when resetting
mxs-mmc mxs-mmc.0: mmc0: MXS SSP MMC DMAIRQ 82 ERRIRQ 96
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
lib80211: common routines for IEEE802.11 drivers
mxs-rtc mxs-rtc.0: setting system clock to 1970-01-01 00:00:05 UTC (5)
mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
mmc0: queuing unknown CIS tuple 0x80 (6 bytes)
mmc0: new high speed SDIO card at address 0001
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size: 75550720 bytes (73780 KiB, 72 MiB, 595 LEBs)
UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: zlib
UBIFS: reserved for root: 0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:11.
Freeing init memory: 124K
Starting logging: OK
Initializing random number generator... done.
Starting bluetooth...
Loading modules backported from Linux version v3.13.2-0-gfd82174
Backport generated by backports.git v3.13.2-1-0-gaef13bc
Bluetooth: 83f6bf04
NET: Registered protocol family 31
Bluetooth: 83f6bf04
Bluetooth: 83f6beec
Bluetooth: 83f6bedc
Bluetooth: 83f6beec
Bluetooth: 83ff1f04
Bluetooth: 83ff1eec
Bluetooth: 83ff1eecDone setting line discpline
Starting system message bus: done
UBI: attaching mtd3 to ubi1
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: attached mtd3 to ubi1
UBI: MTD device name: "database"
UBI: MTD device size: 8 MiB
UBI: number of good PEBs: 64
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 6
UBI: total number of reserved PEBs: 58
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/2
UBI: image sequence number: 0
UBI: background thread "ubi_bgt1d" started, PID 1004
ubiblkb: unknown partition table
UBI device number 1, total 64 LEBs (8126464 bytes, 7.8 MiB), available 6 LEBs (761856 bytes, 744.0 KiB), LEB size 126976 bytes (124.0 KiB)
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 1, volume 0, name "database"
UBIFS: file system size: 5459968 bytes (5332 KiB, 5 MiB, 43 LEBs)
UBIFS: journal size: 1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 257887 bytes (251 KiB)
app_boot=run appboot_args && nand read ${loadaddr} app-kernel 0x00400000 && bootm ${loadaddr}
app_boot_bad=run updater_args; setenv bootargs ${bootargs} badapp; nand read ${loadaddr} updater-kernel 0x00400000; bootm ${loadaddr}
boot_app=run app_boot || run app_boot_bad
cat: can't open '/database/cf_url': No such file or directory
Starting network...
Starting wifi network...
DHD: dongle ram size is set to 524288(orig 524288) at 0x0
dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
dhd_wlfc_init(): successfully enabled bdcv2 tlv signaling, 79
wlan0: Broadcom Dongle Host Driver
Dongle Host Driver, version 1.88.64 (r447771)
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
Starting dropbear sshd: + FILE=/tmp/isalive
+ sleep 90
OK
Starting lighttpd: OK
Starting Zigbee...Starting lutron-core...Reset info: 11 (SOFTWARE)
ezsp ver 0x04 stack type 0x02 stack ver. [5.1.0 GA build 49]
Ezsp Config: set max end device children to 0x0006:Success: set
Ezsp Config: set binding table size to 0x0002:Success: set
Ezsp Config: set source route table size to 0x0064:Success: set
Ezsp Config: set security level to 0x0005:Success: set
Ezsp Config: set address table size to 0x00FA:Success: set
Ezsp Config: set TC addr cache to 0x0004:Success: set
Ezsp Config: set stack profile to 0x0002:Success: set
Ezsp Config: set MAC indirect TX timeout to 0x1E00:Success: set
Ezsp Config: set max hops to 0x001E:Success: set
Ezsp Config: set key table size to 0x0000:Success: set
Ezsp Config: set tx power mode to 0x8000:Success: set
Ezsp Config: set supported networks to 0x0001:Success: set
Ezsp Policy: set binding modify to "allow for valid endpoints & clusters only":Success: set
Ezsp Policy: set message content in msgSent to "return":Success: set
Ezsp Value : set maximum incoming transfer size to 0x000000FF:Success: set
Ezsp Value : set maximum outgoing transfer size to 0x000000FF:Success: set
Ezsp Config: set Fragmentation RX window size to 0x0001:Success: set
NCP supports maxing out packet buffers
Ezsp Config: set packet buffers to 89
Ezsp Config: set Fragmentation RX window size to 0x0001:Success: set
Ezsp Endpoint 1 added, profile 0x0104, in clusters: 3, out clusters 19
Ezsp Policy: set TC Key Request to "Deny":Success: set
Ezsp Policy: set App. Key Request to "Allow":Success: set
Ezsp Policy: set Trust Center Policy to "Allow preconfigured key joins":Success: set
Found 0 files
main: flxOs Initialize success!
zbServer_Initialize: Ipc Server Initialization success!
zbServer_Initialize: Ipc Server Open success!
main: zbServer Initialize success!
EMBER_NETWORK_UP 0x0000
IpcServerSendMessage: send error
emberAfStackStatusCallback: error on IPC send
emberAfStackStatusCallback: send complete
The app framework is handling the stack status.
FlexCI>[ OK ]
Starting aprond...wlan0 (WE) : Wireless Event too big (65306)
wlan0 (WE) : Wireless Event too big (65306)
wlan0: Trying to associate with (SSID='xxxxx' freq=2422 MHz)
wlan0: Associated with
wlan0: WPA: Key negotiation completed with [PTK=CCMP GTK=CCMP]
wlan0: CTRL-EVENT-CONNECTED - Connection to completed [id=0 id_str=]
+ IFACE=wlan0
+ EVENT=CONNECTED
+ case $EVENT in
+ echo 'Received event: CONNECTED'
Received event: CONNECTED
+ set_rgb 127 83 0 0 0 0 flash 500000
+ udhcpc -i wlan0 -t 15 -b
udhcpc (v1.22.1) started
+ exit 0
Sending discover...
Sending select for 192.168.15.115...
Lease of 192.168.15.115 obtained, lease time 86400
dhd_aoe_hostip_clr failed code -23
aoe_update_host_ipv4_table failed
deleting routers
adding dns 8.8.8.8
adding dns 8.8.4.4
adding dns 192.168.15.3
15 Jul 03:10:16 ntpdate[1174]: adjust time server 128.10.19.24 offset -0.003747 sec
Got Z-Wave version: Z-Wave 3.79
[ZWAVE OK]
1195.1] main() (Main|apron.c:48): APRON Home Automation Gateway version 1.2.7038 Starting ...
IpcServerAcceptLoop: accept() success!
IpcServerAcceptLoop: Ipc Server running in event-loop mode
Starting Wink...Starting monit...-----Ipc Server Received message-----
seqNum: 0
msgType: C
Processing ZB_NETWORK_STATUS_CMD
-----Ipc Server Received message-----
seqNum: 1
msgType: C
Processing ZB_FIND_UNUSED_NETWORK_CMD
zbUtil_FindUnusedNetwork: network form success!
Starting monit daemon
hub[1201]: NOTICE: (hub.c:298) hub-dev started up by User: 0
hub[1201]: INFO: (ConfigHandler.c:92) Reading Congif from: /root/config/hub.conf
hub[1201]: INFO: (hub.c:331) oauth exists, sleeping for 1
hub[1201]: INFO: (hubCurl.c:383) Token: xxxxxx
hub[1201]: INFO: (hubCurl.c:299) curlGet: https://hub-api.winkapp.com:8080/socket
hub[1201]: INFO: (hubCurl.c:300) token Authorization: Bearer xxxxxx
hub[1201]: INFO: (hubCurl.c:311) Connecting With Cert: /root/config/ca1-cert.pem
> GET /socket HTTP/1.1
User-Agent: curl/7.32.0
Host: hub-api.winkapp.com:8080
Accept: */*
Content-Type: application/json
Authorization: Bearer xxxxxxx
< HTTP/1.1 200 OK
< Content-Type: application/json
< Content-Length: 87
< Date: Tue, 15 Jul 2014 03:10:20 GMT
< Connection: keep-alive
<
hub[1201]: INFO: (hubCurl.c:364) 87 get bytes retrieved
hub[1201]: DEBUG: (hubCurl.c:109) Read Socket Memory {"accessToken":"}
hub[1201]: INFO: (hubCurl.c:399) Authentication:
Connected with AES256-SHA encryption
Server certificates:
Subject: /C=US/ST=NY/L=New York/O=Wink/OU=Wink Hub Agent/CN=hub-api.winkapp.com/emailAddress=ca@winkapp.com
Issuer: /C=US/ST=NY/L=New York/O=Wink/OU=Wink Certificate Authority/CN=ca.winkapp.com/emailAddress=ca@winkapp.com
hub[1201]: INFO: (hub.c:170) Connected to Socket
connect() failed: No such file or directory
connect() failed: No such file or directory
hub[1201]: INFO: (hub.c:193) Setting up Threads
hub[1201]: INFO: (hub.c:208) Threads Setup
hub[1201]: DEBUG: (hub.c:143) nonce: 4294967280
Inside runRadioThread
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: authenticate
Run Command Line Thread Thread
hub[1201]: INFO: (readThread.c:10) Running Read Thread
hub[1201]: INFO: (writeThread.c:34) Spooled up Radio Thread
hub[1201]: INFO: (writeThread.c:14) Writing Cassette to Socket: authenticate Size: 61
hub[1201]: DEBUG: (writeThread.c:20) Cassette Sent Successfully
Done Sending Cassette
hub[1201]: INFO: (pingSocketThread.c:34) Running Ping Thread
hub[1201]: DEBUG: (hubSocket.c:279) Read Struct Bytes 20
hub[1201]: DEBUG: (hubSocket.c:287) Header size: 8, 3, 0
hub[1201]: DEBUG: (hubSocket.c:299) Body Bytes 8
hub[1201]: INFO: (readThread.c:28) Read Cassette From Socket: receipt
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: receipt
hub[1201]: INFO: (mainThread.c:37) Received Receipt With Topic:4294967280
hub[1201]: DEBUG: (hubSocket.c:279) Read Struct Bytes 20
hub[1201]: DEBUG: (hubSocket.c:287) Header size: 24, 2, 0
hub[1201]: DEBUG: (hubSocket.c:299) Body Bytes 24
hub[1201]: INFO: (readThread.c:28) Read Cassette From Socket: status
hub[1201]: DEBUG: (hubSocket.c:279) Read Struct Bytes 20
hub[1201]: DEBUG: (hubSocket.c:287) Header size: 6, 21, 0
hub[1201]: DEBUG: (hubSocket.c:299) Body Bytes 6
hub[1201]: INFO: (readThread.c:28) Read Cassette From Socket: subscribeToType
hub[1201]: DEBUG: (hubSocket.c:279) Read Struct Bytes 20
hub[1201]: DEBUG: (hubSocket.c:287) Header size: 6, 21, 0
hub[1201]: DEBUG: (hubSocket.c:299) Body Bytes 6
hub[1201]: INFO: (readThread.c:28) Read Cassette From Socket: subscribeToType
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: status
hub[1201]: DEBUG: (hubSocket.c:279) Read Struct Bytes 20
hub[1201]: DEBUG: (hubSocket.c:287) Header size: 6, 21, 0
hub[1201]: DEBUG: (hubSocket.c:299) Body Bytes 6
hub[1201]: INFO: (readThread.c:28) Read Cassette From Socket: subscribeToType
hub[1201]: DEBUG: (hubSocket.c:279) Read Struct Bytes 20
hub[1201]: DEBUG: (hubSocket.c:287) Header size: 6, 21, 0
hub[1201]: DEBUG: (hubSocket.c:299) Body Bytes 6
hub[1201]: INFO: (readThread.c:28) Read Cassette From Socket: subscribeToType
hub[1201]: DEBUG: (hubSocket.c:279) Read Struct Bytes 20
hub[1201]: DEBUG: (hubSocket.c:287) Header size: 6, 34, 0
hub[1201]: DEBUG: (hubSocket.c:299) Body Bytes 6
hub[1201]: INFO: (readThread.c:28) Read Cassette From Socket: getVersionInfo
hub[1201]: DEBUG: (hubSocket.c:279) Read Struct Bytes 20
hub[1201]: DEBUG: (hubSocket.c:287) Header size: 8, 5, 0
hub[1201]: DEBUG: (hubSocket.c:299) Body Bytes 8
hub[1201]: INFO: (readThread.c:28) Read Cassette From Socket: get_devices
hub[1201]: DEBUG: (hubSocket.c:279) Read Struct Bytes 20
hub[1201]: DEBUG: (hubSocket.c:287) Header size: 18, 29, 0
hub[1201]: DEBUG: (hubSocket.c:299) Body Bytes 18
hub[1201]: INFO: (readThread.c:28) Read Cassette From Socket: ping
hub[1201]: DEBUG: (MessageSystem.c:217) nonce: 4294967281
hub[1201]: INFO: (mainThread.c:30) Received Status: Authenticated Code: 200 Topic: -16
hub[1201]: INFO: (writeThread.c:14) Writing Cassette to Socket: receipt Size: 28
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: subscribeToType
hub[1201]: DEBUG: (MessageSystem.c:217) nonce: 4294967282
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: subscribeToType
hub[1201]: DEBUG: (radioThread.c:1093) Cassette in Radio Thread: subscribeToType
hub[1201]: DEBUG: (MessageSystem.c:217) nonce: 4294967283
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: subscribeToType
hub[1201]: DEBUG: (MessageSystem.c:217) nonce: 4294967284
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: subscribeToType
hub[1201]: DEBUG: (MessageSystem.c:217) nonce: 4294967285
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: getVersionInfo
hub[1201]: DEBUG: (MessageSystem.c:217) nonce: 4294967286
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: get_devices
hub[1201]: DEBUG: (MessageSystem.c:217) nonce: 4294967287
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: ping
hub[1201]: DEBUG: (MessageSystem.c:217) nonce: 4294967288
hub[1201]: DEBUG: (writeThread.c:20) Cassette Sent Successfully
Entered Subscribed...
Done Sending Cassette
hub[1201]: INFO: (writeThread.c:14) Writing Cassette to Socket: receipt Size: 28
hub[1201]: DEBUG: (writeThread.c:20) Cassette Sent Successfully
Done Sending Cassette
hub[1201]: INFO: (writeThread.c:14) Writing Cassette to Socket: receipt Size: 28
hub[1201]: DEBUG: (writeThread.c:20) Cassette Sent Successfully
Done Sending Cassette
hub[1201]: INFO: (writeThread.c:14) Writing Cassette to Socket: receipt Size: 28
hub[1201]: DEBUG: (writeThread.c:20) Cassette Sent Successfully
1201.1] apronRegisterCallback() (SdkClient|sdk.c:829): SDK Registering callback...
Error writing to client: Bad file descriptor
Done Sending Cassette
hub[1201]: INFO: (writeThread.c:14) Writing Cassette to Socket: receipt Size: 28
hub[1201]: DEBUG: (writeThread.c:20) Cassette Sent Successfully
Done Sending Cassette
hub[1201]: INFO: (writeThread.c:14) Writing Cassette to Socket: receipt Size: 28
hub[1201]: INFO: (radioThread.c:719) wkp_subscribe: subscribed to device type: 0
hub[1201]: DEBUG: (writeThread.c:20) Cassette Sent Successfully
Done Sending Cassette
hub[1201]: INFO: (writeThread.c:14) Writing Cassette to Socket: receipt Size: 28
hub[1201]: DEBUG: (writeThread.c:20) Cassette Sent Successfully
Done Sending Cassette
hub[1201]: INFO: (writeThread.c:14) Writing Cassette to Socket: receipt Size: 28
hub[1201]: DEBUG: (writeThread.c:20) Cassette Sent Successfully
Done Sending Cassette
hub[1201]: DEBUG: (MessageSystem.c:217) nonce: 4294967289
hub[1201]: DEBUG: (radioThread.c:1093) Cassette in Radio Thread: subscribeToType
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: status
Entered Subscribed...
1201.1] apronRegisterCallback() (SdkClient|sdk.c:829): SDK Registering callback...
hub[1201]: INFO: (writeThread.c:14) Writing Cassette to Socket: status Size: 59
hub[1201]: DEBUG: (writeThread.c:20) Cassette Sent Successfully
Done Sending Cassette
Error writing to client: Bad file descriptor
hub[1201]: INFO: (radioThread.c:719) wkp_subscribe: subscribed to device type: 1
hub[1201]: DEBUG: (MessageSystem.c:217) nonce: 4294967290
hub[1201]: DEBUG: (radioThread.c:1093) Cassette in Radio Thread: subscribeToType
Entered Subscribed...
1201.1] apronRegisterCallback() (SdkClient|sdk.c:829): SDK Registering callback...
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: status
hub[1201]: INFO: (writeThread.c:14) Writing Cassette to Socket: status Size: 59
hub[1201]: DEBUG: (writeThread.c:20) Cassette Sent Successfully
Done Sending Cassette
Error writing to client: Bad file descriptor
hub[1201]: INFO: (radioThread.c:719) wkp_subscribe: subscribed to device type: 2
hub[1201]: DEBUG: (MessageSystem.c:217) nonce: 4294967291
hub[1201]: DEBUG: (radioThread.c:1093) Cassette in Radio Thread: subscribeToType
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: status
Entered Subscribed...
1201.1] apronRegisterCallback() (SdkClient|sdk.c:829): SDK Registering callback...
Error writing to client: Bad file descriptor
hub[1201]: INFO: (radioThread.c:719) wkp_subscribe: subscribed to device type: 3
hub[1201]: INFO: (writeThread.c:14) Writing Cassette to Socket: status Size: 59
hub[1201]: DEBUG: (MessageSystem.c:217) nonce: 4294967292
hub[1201]: DEBUG: (radioThread.c:1093) Cassette in Radio Thread: getVersionInfo
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: status
hub[1201]: DEBUG: (writeThread.c:20) Cassette Sent Successfully
Done Sending Cassette
hub[1201]: INFO: (VersioningUtil.c:81) Reading Versioning from: cf_build
hub[1201]: INFO: (writeThread.c:14) Writing Cassette to Socket: status Size: 59
hub[1201]: INFO: (VersioningUtil.c:81) Reading Versioning from: cf_fver0
hub[1201]: WARNING: (VersioningUtil.c:90) Could not open: cf_fver0
hub[1201]: INFO: (VersioningUtil.c:81) Reading Versioning from: cf_fver1
hub[1201]: WARNING: (VersioningUtil.c:90) Could not open: cf_fver1
hub[1201]: INFO: (VersioningUtil.c:81) Reading Versioning from: cf_fver2
hub[1201]: DEBUG: (writeThread.c:20) Cassette Sent Successfully
Done Sending Cassette
hub[1201]: INFO: (VersioningUtil.c:81) Reading Versioning from: cf_fver3
hub[1201]: DEBUG: (radioThread.c:1045) Version: 00.01,0,0,00.01,00.19,34:23:BA:EB:0A:C1,192.168.15.115
hub[1201]: DEBUG: (MessageSystem.c:217) nonce: 4294967293
hub[1201]: DEBUG: (radioThread.c:1093) Cassette in Radio Thread: get_devices
Get Deveice Recieved
There are 1 devices
Device Index: 1 Device Name: New POWER_SWITCH_BINARY
hub[1201]: DEBUG: (MessageSystem.c:217) nonce: 4294967294
hub[1201]: DEBUG: (radioThread.c:1093) Cassette in Radio Thread: ping
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: versionInfo
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: devices
hub[1201]: INFO: (writeThread.c:14) Writing Cassette to Socket: versionInfo Size: 83
hub[1201]: DEBUG: (writeThread.c:20) Cassette Sent Successfully
Done Sending Cassette
hub[1201]: INFO: (writeThread.c:14) Writing Cassette to Socket: devices Size: 62
hub[1201]: DEBUG: (writeThread.c:20) Cassette Sent Successfully
Done Sending Cassette
hub[1201]: DEBUG: (hubSocket.c:279) Read Struct Bytes 20
hub[1201]: DEBUG: (hubSocket.c:287) Header size: 8, 3, 0
hub[1201]: DEBUG: (hubSocket.c:299) Body Bytes 8
hub[1201]: INFO: (readThread.c:28) Read Cassette From Socket: receipt
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: receipt
hub[1201]: INFO: (mainThread.c:37) Received Receipt With Topic:4294967289
hub[1201]: DEBUG: (hubSocket.c:279) Read Struct Bytes 20
hub[1201]: DEBUG: (hubSocket.c:287) Header size: 8, 3, 0
hub[1201]: DEBUG: (hubSocket.c:299) Body Bytes 8
hub[1201]: INFO: (readThread.c:28) Read Cassette From Socket: receipt
hub[1201]: DEBUG: (hubSocket.c:279) Read Struct Bytes 20
hub[1201]: DEBUG: (hubSocket.c:287) Header size: 8, 3, 0
hub[1201]: DEBUG: (hubSocket.c:299) Body Bytes 8
hub[1201]: INFO: (readThread.c:28) Read Cassette From Socket: receipt
hub[1201]: DEBUG: (hubSocket.c:279) Read Struct Bytes 20
hub[1201]: DEBUG: (hubSocket.c:287) Header size: 8, 3, 0
hub[1201]: DEBUG: (hubSocket.c:299) Body Bytes 8
hub[1201]: INFO: (readThread.c:28) Read Cassette From Socket: receipt
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: receipt
hub[1201]: INFO: (mainThread.c:37) Received Receipt With Topic:4294967290
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: receipt
hub[1201]: INFO: (mainThread.c:37) Received Receipt With Topic:4294967291
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: receipt
hub[1201]: INFO: (mainThread.c:37) Received Receipt With Topic:4294967292
hub[1201]: DEBUG: (hubSocket.c:279) Read Struct Bytes 20
hub[1201]: DEBUG: (hubSocket.c:287) Header size: 8, 3, 0
hub[1201]: DEBUG: (hubSocket.c:299) Body Bytes 8
hub[1201]: INFO: (readThread.c:28) Read Cassette From Socket: receipt
hub[1201]: DEBUG: (hubSocket.c:279) Read Struct Bytes 20
hub[1201]: DEBUG: (hubSocket.c:287) Header size: 8, 3, 0
hub[1201]: DEBUG: (hubSocket.c:299) Body Bytes 8
hub[1201]: INFO: (readThread.c:28) Read Cassette From Socket: receipt
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: receipt
hub[1201]: INFO: (mainThread.c:37) Received Receipt With Topic:4294967293
hub[1201]: DEBUG: (mainThread.c:122) Cassette in Main Thread: receipt
hub[1201]: INFO: (mainThread.c:37) Received Receipt With Topic:4294967294
set state to: 0x0B04
security init TC: 0x70
Forming on ch 15, panId 0xB89B
Form error 0x70 aborting
Scan error 0x70
Network find complete (scan error).
Setting non-canonical mode
Startup complete.
"