- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to set characteristic client configuration descriptor from a client device on startup. The client sends the configuration bytes but the peripheral missed that communication as it seems from the log.
Here is the code for the central device connection_up callback
void device_client_connection_up(void)
{
ble_trace0("\rprox_client_connection_up");
blecen_connUp();
if (bleprofile_p_cfg->encr_required)
{
ble_trace0("\rprox_client_connection_up start pairing");
// following call will start bonding if devices are not pairing, or will request
// encryption if bonding has been established before
lesmp_startPairing(NULL);
}
else
{
//bleprofile_sendReadByGroupTypeReq(1, 0xffff, UUID_ATTRIBUTE_PRIMARY_SERVICE);
UINT16 u16 = 1;
ble_trace0("Sending Client Configuration");
bleprofile_sendWriteReq(HDLD_DEV_SERVICE_TX_CLIENT_CONFIGURATION, (UINT8 *)&u16, 2);
}
bleprofile_LEDBlink(50,100,2);
}
// Connection down callback
void device_client_connection_down(void)
{
ble_trace1("\rDisc_Reason: %02x", emconinfo_getDiscReason());
// blecen_connDown will clear up handle and starts High duty scan
blecen_connDown();
}
And the log during the connection (client) is below:
17:04:33 - Scanning
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 0e04010c200c
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 0e04010b2000
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 0e04010c2000
17:04:33 BLE_high_scan:timer(0)
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 3e290201030167f64e4cbf281d1cff06
17:04:33 - 000109210adc0fc2cf08b84c4150544f
17:04:33 - 502d5548393738435355b5
17:04:33 - 1cff06000109210adc0fc2cf08b84c41
17:04:33 - 50544f502d5548393738435355
17:04:33 - 06000109210adc0fc2cf08b84c415054
17:04:33 - 4f502d5548393738435355
17:04:33 Trace Decoding Error - Could not find line number 11639
17:04:33 Decode Error
17:04:33 Trace Decoding Error - Could not find line number 244
17:04:33 Trace Decoding Error - Could not find line number 15361
17:04:33 - 1eff06
17:04:33 - 0001092002c43fb6bdd38cf6acb1f220
17:04:33 - 13cd4cc34a24d5f62d778a57a9
17:04:33 - 1eff060001092002c43fb6bdd38cf6ac
17:04:33 - b1f22013cd4cc34a24d5f62d778a57
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 3e1e020100015475a619875b1202011a
17:04:33 - 020a0c0bff4c001006131af2d6ad67c0
17:04:33 - 02011a020a0c0bff4c001006131af2d6
17:04:33 - ad67
17:04:33 - 1a
17:04:33 - 0c
17:04:33 - 4c001006131af2d6ad67
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 3e0c020104015475a619875b00bf
17:04:33 - 1a
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 3e2b02010301e314df28e4311f1eff06
17:04:33 - 0001092002e61a892bff798e88fc7995
17:04:33 - 9a6b8c621a2150c16dc9addbae
17:04:33 - 1eff060001092002e61a892bff798e88
17:04:33 - fc79959a6b8c621a2150c16dc9addb
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 3e1e020100017c13e09b78791202011a
17:04:33 - 020a0c0bff4c001006031e36311c4ea8
17:04:33 - 02011a020a0c0bff4c001006031e3631
17:04:33 - 1c4e
17:04:33 - 1a
17:04:33 - 0c
17:04:33 - 4c001006031e36311c4e
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 3e0c020104017c13e09b787900a9
17:04:33 - 1a
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 3e2b02010301f2a9190228321f1eff06
17:04:33 - 00010920024b86f0b9ffed559151b52d
17:04:33 - 64f67cc1471fbe1cae00e2a2b6
17:04:33 - 1eff0600010920024b86f0b9ffed5591
17:04:33 - 51b52d64f67cc1471fbe1cae00e2a2
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 3e2b02010301bc69d72d6e161f1eff06
17:04:33 - 0001092002f64694e55d9e709c3d7385
17:04:33 - d66e7be35f8def9de5fd1cbfad
17:04:33 - 1eff060001092002f64694e55d9e709c
17:04:33 - 3d7385d66e7be35f8def9de5fd1cbf
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 3e290201030167f64e4cbf281d1cff06
17:04:33 - 000109210adc0fc2cf08b84c4150544f
17:04:33 - 502d5548393738435355a6
17:04:33 - 1cff06000109210adc0fc2cf08b84c41
17:04:33 - 50544f502d5548393738435355
17:04:33 - 06000109210adc0fc2cf08b84c415054
17:04:33 - 4f502d5548393738435355
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 3e2b02010301f2a9190228321f1eff06
17:04:33 - 00010920024b86f0b9ffed559151b52d
17:04:33 - 64f67cc1471fbe1cae00e2a2b5
17:04:33 - 1eff0600010920024b86f0b9ffed5591
17:04:33 - 51b52d64f67cc1471fbe1cae00e2a2
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 3e240201000020ff117a732018020105
17:04:33 - 110779043bfcfbba4417b5ab108f7a76
17:04:33 - ac7f020a04a4
17:04:33 - 020105110779043bfcfbba4417b5ab10
17:04:33 - 8f7a76ac7f020a04
17:04:33 - 05
17:04:33 - 79043bfcfbba4417b5ab108f7a76ac7f
17:04:33 - 04
17:04:33 - Found service, no discoverable high conn
17:04:33 -
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 3e1d020100017a363d3eab4c1102011a
17:04:33 - 020a0c0aff4c001005031c1f3154a9
17:04:33 - 02011a020a0c0aff4c001005031c1f31
17:04:33 - 54
17:04:33 - 1a
17:04:33 - 0c
17:04:33 - 4c001005031c1f3154
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 3e0c020104017a363d3eab4c00a8
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 0e04010e200c
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 0f0400010d20
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 0e04010c2000
17:04:33 - D07B51D010380EFD5074E4CBF2880EFDD0767F6000080EF510A00000000
17:04:33 Trace Decoding Error - Could not find line number 314
17:04:33 BDADDR[1:0]: a9f2 00
17:04:33 MANUF
17:04:33 ADV:EvtType:3, AddrType:1, Len:31, RSSI: 173
17:04:33 BDADDR[5:2]: 16 6e 2d d7
17:04:33 BDADDR[1:0]: 69bc 00
17:04:33 MANUF
17:04:33 ADV:EvtType:3, AddrType:1, Len:29, RSSI: 166
17:04:33 BDADDR[5:2]: 28 bf 4c 4e
17:04:33 BDADDR[1:0]: f667 00
17:04:33 MANUF
17:04:33 ADV:EvtType:3, AddrType:1, Len:31, RSSI: 181
17:04:33 BDADDR[5:2]: 32 28 02 19
17:04:33 BDADDR[1:0]: a9f2 00
17:04:33 MANUF
17:04:33 ADV:EvtType:0, AddrType:0, Len:24, RSSI: 164
17:04:33 BDADDR[5:2]: 20 73 7a 11
17:04:33 BDADDR[1:0]: ff20 00
17:04:33 FLAGS
17:04:33 128 COMP
17:04:33 PWRLVL
17:04:33 BLE_high_conn:timer(2)
17:04:33 ScanTimer stopped: 1
17:04:33 NoScan
17:04:33 ADV:EvtType:0, AddrType:1, Len:17, RSSI: 169
17:04:33 BDADDR[5:2]: 4c ab 3e 3d
17:04:33 BDADDR[1:0]: 367a 00
17:04:33 FLAGS
17:04:33 PWRLVL
17:04:33 MANUF
17:04:33 ADV:EvtType:4, AddrType:1, Len:0, RSSI: 168
17:04:33 BDADDR[5:2]: 4c ab 3e 3d
17:04:33 BDADDR[1:0]: 00 00
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 3e1301004000000020ff117a73203600
17:04:33 - 0000e80305
17:04:33 - GetBondedInfoIdx returns 0 meaning no bonded info
17:04:33 -
17:04:33 - Load Dev Info:
17:04:33 - 20ff117a7320
17:04:33 - idx = -1
17:04:33 -
17:04:33 - No Bonded Info
17:04:33 -
17:04:33 - prox_client_connection_up
17:04:33 - Sending Client Configuration
17:04:33 -
17:04:33 - l2cap Tx:
17:04:33 - 40200900050004001205010100
17:04:33 - Tx buffer = 14
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 0e04010a200c
17:04:33 -
17:04:33 - blecm evt handler:
17:04:33 - 0e04010e200c
17:04:33 Connection is UP.
17:04:33 connUp
17:04:33 noAdv
17:04:33 blecen_connUp[5:2]: 20 73 7a 11
17:04:33 blecen_connUp[1:0]: ff 20, handle: 0040
17:04:33 ConnTimer stopped: 2
17:04:33 NoConn
17:04:33 LEDBlink(50, 100)
17:04:33 LEDBlink Num = 0
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 13050140000100
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 05040040003e
17:04:34 -
17:04:34 - Disc_Reason: 3e
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 0e04010c200c
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 0e04010b2000
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 0e04010c2000
17:04:34 SMP Conn Down
17:04:34 connDown
17:04:34 Trace Decoding Error - Could not find line number 15149
17:04:34 Decode Error
17:04:34 Trace Decoding Error - Could not find line number 0
17:04:34 Trace Decoding Error - Could not find line number 8692
17:04:34 Trace Decoding Error - Could not find line number 15360
17:04:34 - c0bff4c001006131af2d6ad67c2
17:04:34 - 02011a020a0c0bff4c001006131af2d6
17:04:34 - ad67
17:04:34 - 1a
17:04:34 - 0c
17:04:34 - 4c001006131af2d6ad67
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 3e0c020104015475a619875b00c1
17:04:34 - 1a
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 3e240201000020ff117a732018020105
17:04:34 - 110779043bfcfbba4417b5ab108f7a76
17:04:34 - ac7f020a04a6
17:04:34 - 020105110779043bfcfbba4417b5ab10
17:04:34 - 8f7a76ac7f020a04
17:04:34 - 05
17:04:34 - 79043bfcfbba4417b5ab108f7a76ac7f
17:04:34 - 04
17:04:34 - Found service, no discoverable high conn
17:04:34 -
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 3e2b02010301e314df28e4311f1eff06
17:04:34 - 0001092002e61a892bff798e88fc7995
17:04:34 - 9a6b8c621a2150c16dc9addbb2
17:04:34 - 1eff060001092002e61a892bff798e88
17:04:34 - fc79959a6b8c621a2150c16dc9addb
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 3e2b02010301144af4450f0c1f1eff06
17:04:34 - 00010920020b68e6f90af0fe17bc1ec0
17:04:34 - f1a57679ca4260fca9fe928caa
17:04:34 - 1eff0600010920020b68e6f90af0fe17
17:04:34 - bc1ec0f1a57679ca4260fca9fe928c
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 3e240201000020ff117a732018020105
17:04:34 - 110779043bfcfbba4417b5ab108f7a76
17:04:34 - ac7f020a04a9
17:04:34 - 020105110779043bfcfbba4417b5ab10
17:04:34 - 8f7a76ac7f020a04
17:04:34 - 05
17:04:34 - 79043bfcfbba4417b5ab108f7a76ac7f
17:04:34 - 04
17:04:34 - Found service, no discoverable high conn
17:04:34 -
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 0e04010e200c
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 0f0400010d20
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 3e1301004000000020ff117a73203600
17:04:34 - 0000e80305
17:04:34 - GetBondedInfoIdx returns 0 meaning no bonded info
17:04:34 -
17:04:34 - Load Dev Info:
17:04:34 - 20ff117a7320
17:04:34 - idx = -1
17:04:34 -
17:04:34 - No Bonded Info
17:04:34 -
17:04:34 - prox_client_connection_up
17:04:34 - Sending Client Configuration
17:04:34 -
17:04:34 - l2cap Tx:
17:04:34 - 40200900050004001205010100
17:04:34 - Tx buffer = 14
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 0e04010c2000
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 0e04010e200c
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 0f040b010d20
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 0e04010c200c
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 0e04010a200c
17:04:34 -
17:04:34 - blecm evt handler:
17:04:34 - 0e04010e200c
17:04:34 - 75E210000000080EF5905117A732080EF5D05400020FF80EF6D050000000080EF610B01000000
17:04:34 Trace Decoding Error - Could not find line number 314
17:04:34 FLAGS
17:04:34 128 COMP
17:04:34 PWRLVL
17:04:34 BLE_high_conn:timer(2)
17:04:34 ScanTimer stopped: 1
17:04:34 NoScan
17:04:34 ADV:EvtType:3, AddrType:1, Len:31, RSSI: 178
17:04:34 BDADDR[5:2]: 31 e4 28 df
17:04:34 BDADDR[1:0]: 14e3 00
17:04:34 MANUF
17:04:34 ADV:EvtType:3, AddrType:1, Len:31, RSSI: 170
17:04:34 BDADDR[5:2]: 0c 0f 45 f4
17:04:34 BDADDR[1:0]: 4a14 00
17:04:34 MANUF
17:04:34 ADV:EvtType:0, AddrType:0, Len:24, RSSI: 169
17:04:34 BDADDR[5:2]: 20 73 7a 11
17:04:34 BDADDR[1:0]: ff20 00
17:04:34 FLAGS
17:04:34 128 COMP
17:04:34 PWRLVL
17:04:34 ConnTimer stopped: 2
17:04:34 BLE_high_conn:timer(1)
17:04:34 NoScan
17:04:34 Connection is UP.
17:04:34 connUp
17:04:34 noAdv
17:04:34 blecen_connUp[5:2]: 20 73 7a 11
17:04:34 blecen_connUp[1:0]: ff 20, handle: 0040
17:04:34 ConnTimer stopped: 0
17:04:34 NoConn
17:04:34 LEDBlink(50, 100)
17:04:34 LEDBlink Num = 0
17:04:34 -
17:04:34 - blecm evt handler:
17:04:35 - 13050140000100
17:04:35 -
17:04:35 - blecm evt handler:
17:04:35 - 05040040003e
17:04:35 -
17:04:35 - Disc_Reason: 3e
17:04:35 -
17:04:35 - blecm evt handler:
17:04:35 - 0e04010c200c
17:04:35 -
17:04:35 - blecm evt handler:
17:04:35 - 0e04010b2000
17:04:35 -
17:04:35 - blecm evt handler:
17:04:35 - 0e04010c2000
17:04:35 SMP Conn Down
17:04:35 connDown
17:04:35 ConnDnStopIdlTmr
17:04:35 blecen_connDown[5:2]: 20 73 7a 11
17:04:35 blecen_connDown[1:0]: fd 20, handle: 0040
17:04:35 Trace Decoding Error - Could not find line number 16380
17:04:35 Decode Error
17:04:35 - 0301f2a9190228321f1eff06
17:04:35 - 00010920024b86f0b9ffed559151b52d
17:04:35 - 64f67cc1471fbe1cae00e2a2b8
17:04:35 - 1eff0600010920024b86f0b9ffed5591
17:04:35 - 51b52d64f67cc1471fbe1cae00e2a2
17:04:35 -
17:04:35 - blecm evt handler:
17:04:35 - 3e2b0201030151b29f9046241f1eff06
17:04:35 - 000109200225e39d50b893fc44b8328e
17:04:35 - 1ca552df55410e7280be5dcfb5
17:04:35 - 1eff06000109200225e39d50b893fc44
17:04:35 - b8328e1ca552df55410e7280be5dcf
17:04:35 -
17:04:35 - blecm evt handler:
17:04:35 - 3e2b02010301bc69d72d6e161f1eff06
17:04:35 - 0001092002f64694e55d9e709c3d7385
17:04:35 - d66e7be35f8def9de5fd1cbfb6
17:04:35 - 1eff060001092002f64694e55d9e709c
17:04:35 - 3d7385d66e7be35f8def9de5fd1cbf
17:04:35 -
17:04:35 - blecm evt handler:
17:04:35 - 3e240201000020ff117a732018020105
17:04:35 - 110779043bfcfbba4417b5ab108f7a76
17:04:35 - ac7f020a04ab
17:04:35 - 020105110779043bfcfbba4417b5ab10
17:04:35 - 8f7a76ac7f020a04
17:04:35 - 05
17:04:35 - 79043bfcfbba4417b5ab108f7a76ac7f
17:04:35 - 04
17:04:35 - Found service, no discoverable high conn
17:04:35 -
17:04:35 -
17:04:35 - blecm evt handler:
17:04:35 - 3e2b02010301ac77c25b07011f1eff06
17:04:35 - 0001092002c43fb6bdd38cf6acb1f220
17:04:35 - 13cd4cc34a24d5f62d778a57ad
17:04:35 - 1eff060001092002c43fb6bdd38cf6ac
17:04:35 - b1f22013cd4cc34a24d5f62d778a57
17:04:35 -
17:04:35 - blecm evt handler:
17:04:35 - 0e04010e200c
17:04:35 -
17:04:35 - blecm evt handler:
17:04:35 - 0f0400010d20
17:04:35 -
17:04:35 - blecm evt handler:
17:04:35 - 0e04010c2000
17:04:35 - F80EF6
17:04:35 - blecm evt handler:
17:04:35 - 3e1301004000000020ff117a73203600
17:04:35 - 0000e80305
17:04:35 - GetBondedInfoIdx returns 0 meaning no bonded info
17:04:35 -
17:04:35 - Load Dev Info:
17:04:35 - 20ff117a7320
17:04:35 - idx = -1
17:04:35 -
17:04:35 - No Bonded Info
17:04:35 -
17:04:35 - prox_client_connection_up
17:04:35 - Sending Client Configuration
17:04:35 -
17:04:35 - l2cap Tx:
17:04:35 - 40200900050004001205010100
17:04:35 - Tx buffer = 14
17:04:35 -
17:04:35 - blecm evt handler:
17:04:35 - 0e04010a200c
17:04:35 -
17:04:35 - blecm evt handler:
17:04:35 - 0e04010e200c
17:04:35 - D050000000080EF610B01000000
17:04:35 Trace Decoding Error - Could not find line number 314
17:04:35 BDADDR[1:0]: a9f2 00
17:04:35 MANUF
17:04:35 ADV:EvtType:3, AddrType:1, Len:31, RSSI: 181
17:04:35 BDADDR[5:2]: 24 46 90 9f
17:04:35 BDADDR[1:0]: b251 00
17:04:35 MANUF
17:04:35 ADV:EvtType:3, AddrType:1, Len:31, RSSI: 182
17:04:35 BDADDR[5:2]: 16 6e 2d d7
17:04:35 BDADDR[1:0]: 69bc 00
17:04:35 MANUF
17:04:35 ADV:EvtType:0, AddrType:0, Len:24, RSSI: 171
17:04:35 BDADDR[5:2]: 20 73 7a 11
17:04:35 BDADDR[1:0]: ff20 00
17:04:35 FLAGS
17:04:35 128 COMP
17:04:35 PWRLVL
17:04:35 BLE_high_conn:timer(2)
17:04:35 ScanTimer stopped: 1
17:04:35 NoScan
17:04:35 ADV:EvtType:3, AddrType:1, Len:31, RSSI: 173
17:04:35 BDADDR[5:2]: 01 07 5b c2
17:04:35 BDADDR[1:0]: 77ac 00
17:04:35 MANUF
17:04:35 Connection is UP.
17:04:35 connUp
17:04:35 noAdv
17:04:35 blecen_connUp[5:2]: 20 73 7a 11
17:04:35 blecen_connUp[1:0]: ff 20, handle: 0040
17:04:35 ConnTimer stopped: 0
17:04:35 NoConn
17:04:35 LEDBlink(50, 100)
17:04:35 LEDBlink Num = 0
17:04:35 -
17:04:35 - l2cap Rx:
17:04:35 - 40200900050004000112050105
17:04:35 -
17:04:35 - blecm evt handler:
17:04:35 - 13050140000100
The log from the perpheral is showing below:
17:04:34 - connection_up: 20737a173a0b h=64
17:04:34 - NVRAM Write = 0008
17:04:34 -
17:04:34 Connection is UP.
17:04:34 profile idle timer stop
17:04:34 connUp
17:04:34 noAdv
- Tags:
- ble client
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you share the project which can reproduce the problem? Which device and SDK are you using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you test with hello_client and hello_sensor demo?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The demo cannot run straight away with the CyBLE modules, there are lot of issues in the code, especially the bleprofile functions, such as LED and GPIO/GPIO interrupt.
Do you think that the auto generated code will not works? I think there are some minor issues that need to be corrected, and trying to change the code to hello sensor/hello client way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please add the following define in the application code of hello_client and hello_senso to run it on CYBLE-013025 EVB.
#define GPIO_PIN_BATTERY -1
#define GPIO_SETTINGS_BATTERY 0
#define GPIO_PIN_BUZZER -1
#define GPIO_SETTINGS_BUZZER 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problems are not only with pin assignment, and I changed the wrong assignments in file "profile.h" (and non available pins) already. Since I don't have access to the code in ROM, I cannot say what is wrong there. For example, please let me know if you get interrupt on button press without using gpio functions (like gpio_registerForInterrupt).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you try the attached project based on hello_client and hello_sensor. You may also need to change the platform files under WICED-Smart-SDK-2.2.3\WICED-Smart-SDK\include\Platforms\CYBLE_013025_EVAL.
Per my test, the hello sensor can successfully receive the write command for the CCCD. Please see the log below:
16:03:36 - Checking readable attribute 002b
16:03:36 -
16:03:36 - permission check retCode = 00
16:03:36 - hello_sensor_write_handler: handle 002b
16:03:36 -
16:03:36 - hello_sensor_write_handler: client_configuration 0001
16:03:36 -
16:03:36 - hello_sensor_write_handler: NVRAM write:0009
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In my test, the log is as follows:
17:33:29 - No Bonded Info
17:33:29 - hello_sensor_connection_up: 20737a173a0b type 0 bonded 0 handle 0040
17:33:29 -
17:33:29 -
17:33:29 - l2cap Tx:
17:33:29 - 40200600020006000b01
17:33:29 - Tx buffer = 14
17:33:29 -
17:33:29 - blecm evt handler:
17:33:29 - 0e04010a200c
17:33:29 -
17:33:29 - blecm evt handler:
17:33:29 - 0e04010a200c
17:33:29 Connection is UP.
17:33:29 profile idle timer stop
17:33:29 connUp
17:33:29 noAdv
17:33:29 BLE_idleconn:timer(3)
17:33:29 noAdv
17:33:29 profile idle timer stop
17:33:29 - hello_sensor_timeout:3
17:33:29 -
17:33:29 -
17:33:29 - blecm evt handler:
17:33:29 - 3e0d05400000042000010200000000
17:33:29 -
17:33:29 - blecm evt handler:
17:33:29 - 0e06011b20004000
17:33:30 -
17:33:30 - blecm evt handler:
17:33:30 - 13050140000100
17:33:30 - hello_sensor_timeout:4