This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SDK12 CSCS example connects but sends no data

I have the nRF52 development kit. I'm using eclipse Neon and the Nordic apps on an Iphone 6. I got the SDK11 examples working where the CSCS BLE example is what I want to use as a starting point. I decided to check out the SDK12 version. I had to add some headers to the main file, ble_sensor_location.h, ble_gap.h, and pca10040.h to get a clean build. I also fixed/added some paths in the makefile. No errors are present and I loaded up the program along with the 3.0 softdevice. I can connect with the Nordic iphone app but there is no data coming across from the simulation. I'm new to BLE so with a lot of effort, I might could track this down myself but I was hoping you guys would be able to take a quick look and know what the issue is. Thanks a lot for your help.

log from Nordic iphone app 10:26:04.507 Connecting... Nordic_CSC 10:26:04.507 [MethodCall]connectPeripheral 10:26:04.654 [Callback]Successful connect to peripheral: Nordic_CSC 10:26:04.654 Status changed: Connected to Nordic_CSC 10:26:04.740 [Callback]Discovered service: 1816 10:26:04.740 [Callback]Discovered service: 180F 10:26:04.740 [Callback]Discovered service: 180A 10:26:04.765 [Callback]Discovered charact.: 2A5B 10:26:04.765 [MethodCall]discoverDescriptorsForCharacteristic 10:26:04.765 [MethodCall]readValueForCharacteristic 10:26:04.765 [Callback]Discovered charact.: 2A5C 10:26:04.765 [MethodCall]discoverDescriptorsForCharacteristic 10:26:04.766 [MethodCall]readValueForCharacteristic 10:26:04.766 [Callback]Discovered charact.: 2A5D 10:26:04.766 [MethodCall]discoverDescriptorsForCharacteristic 10:26:04.766 [MethodCall]readValueForCharacteristic 10:26:04.766 [Callback]Discovered charact.: 2A55 10:26:04.766 [MethodCall]discoverDescriptorsForCharacteristic 10:26:04.766 [MethodCall]readValueForCharacteristic 10:26:04.766 [Callback]Discovered charact.: 2A19 10:26:04.766 [MethodCall]discoverDescriptorsForCharacteristic 10:26:04.767 [MethodCall]readValueForCharacteristic 10:26:04.767 [Callback]Discovered charact.: 2A29 10:26:04.767 [MethodCall]discoverDescriptorsForCharacteristic 10:26:04.767 [MethodCall]readValueForCharacteristic 10:26:04.768 [System]Discovered descriptor: 2902 10:26:04.800 [System]Error update value for charact. 2A5B: Error Domain=CBATTErrorDomain Code=2 "Reading is not permitted." UserInfo={NSLocalizedDescription=Reading is not permitted.} 10:26:04.800 Could not update value for charact. 10:26:04.860 [Callback]Successful received value from charact. 2A5C 10:26:04.920 [Callback]Successful received value from charact. 2A5D 10:26:04.980 [System]Error update value for charact. 2A55: Error Domain=CBATTErrorDomain Code=2 "Reading is not permitted." UserInfo={NSLocalizedDescription=Reading is not permitted.} 10:26:04.980 Could not update value for charact. 10:26:04.981 [System]Discovered descriptor: 2902 10:26:05.040 [Callback]Successful received value from charact. 2A19 10:26:05.101 [Callback]Successful received value from charact. 2A29 10:26:05.103 0x4E6F7264696353656D69636F6E647563746F72 received 10:26:05.160 [Callback]Successful received value from descriptor: 2902 10:26:05.160 (UInt64)0 received 10:26:05.220 [Callback]Successful received value from descriptor: 2902 10:26:05.220 (UInt64)0 received

Parents Reply Children
No Data
Related