I started today with the following examples to make a start with serialization:
- ..\examples\connectivity\ble_connectivity\pca10040\ser_s132_hci
- ..\examples\ble_peripheral\ble_app_hrs\pca10040\ser_s132_hci
Both projects are installed on a PCA10040 and i followed the following guide:
infocenter.nordicsemi.com/.../nrf51_setups_serialization.html
I see the following behavior with RTT logging enabled:
Both applications crash after 3 minutes, advertising timeout.
After some searching i found that the following ble_event was missing from the encode and decode blocks: BLE_GAP_EVT_ADV_SET_TERMINATED.
Another feature that was missing was the sleep functionality in the connectivity example. This also causes the connectivity application to crash.
Has somebody any idea if more features/changes are overlooked in the latest SDK version of the serialization/ble_connectivity examples?
Thanks in advance,
Erwin