Hello,
Im using D52Q ANT Module series chip, I have uploaded the S132 soft device and BLE peripheral program(PCA10040).
Once i download the program, 3rd LED glows, and i can view the name NORDIC BLINKY on NRFconnect app on Phone.
Once i click on connect option on phone, the 3rd LED stops blinking.
In the Client tab of the phone, i can see the Button and LED option.
But i face following issues
1. Unable to bond
2. im unable to write to the D52Q module, i.e., Make the LED Glow based on button
The LOG file of the app is attached below
DeviceName[RW](0x2A00) -Appearance[R](0x2A01) -PeripheralPreferredConnectionParameters[R](0x2A04) -CentralAddressResolution[R](0x2AA6) GenericAttribute(0x1801) NordicLEDButtonService(00001523-1212-efde-1523-785feabcd123) -Button[NR](00001524-1212-efde-1523-785feabcd123) ClientCharacteristicConfiguration(0x2902) -LED[RW](00001525-1212-efde-1523-785feabcd123) D 08:08:53.990gatt.setCharacteristicNotification(00001524-1212-efde-1523-785feabcd123, true) V 08:10:01.915Readingcharacteristic00001524-1212-efde-1523-785feabcd123 D 08:10:01.915gatt.readCharacteristic(00001524-1212-efde-1523-785feabcd123) I 08:10:02.184ReadResponsereceivedfrom00001524-1212-efde-1523-785feabcd123,value: (0x)F8 A 08:10:02.184"Invalidvalue:(0x)F8"received V 08:10:04.999Enablingnotificationsfor00001524-1212-efde-1523-785feabcd123 D 08:10:04.999gatt.setCharacteristicNotification(00001524-1212-efde-1523-785feabcd123, true) D 08:10:05.003gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb,value=0x0100) I 08:10:05.365Datawrittentodescr.00002902-0000-1000-8000-00805f9b34fb,value:(0x)01- 00 A 08:10:05.365"Notificationsenabled"sent V 08:10:05.386Notificationsenabledfor00001524-1212-efde-1523-785feabcd123 V 08:10:07.882Readingcharacteristic00001525-1212-efde-1523-785feabcd123 D 08:10:07.882gatt.readCharacteristic(00001525-1212-efde-1523-785feabcd123) I 08:10:08.346ReadResponsereceivedfrom00001525-1212-efde-1523-785feabcd123,value: (0x)01 A 08:10:08.346"LEDenabled"received V 08:10:11.467Writingrequesttocharacteristic00001525-1212-efde-1523-785feabcd123 D 08:10:11.467gatt.writeCharacteristic(00001525-1212-efde-1523-785feabcd123,value=0x01) E 08:10:11.923Error128(0x80):GATTNORESOURCES V 08:10:16.902Readingcharacteristic00001525-1212-efde-1523-785feabcd123 D 08:10:16.902gatt.readCharacteristic(00001525-1212-efde-1523-785feabcd123) I 08:10:17.290ReadResponsereceivedfrom00001525-1212-efde-1523-785feabcd123,value: (0x)01 A 08:10:17.290"LEDenabled"received
HI Nagashree,
the ble_app_blinky example does not support bonding. If you want to use an example that supports bonding, then I recommend using the ble_app_hrs example instead.
Best regards
Bjørn
Thank you.
But what about the reason behind LED not blinking? (GATT error)
I cant see any where in the ble_app_blinky code where returns any GATT error code on writing to the LED characteristic. Can you debug the ble_app_blinky example and place a breakpoint in the led_write_handler and see if you enter this when the LED char is written to?Best regards
Hey,
Thank you so much. It worked, SOme problem with SOft device. I uploaded BLE hex file, on that i wrote the program using Keil and it worked.
Happy to hear that your board is working as it should!