Hi all,
Trying to read out the nRF8001 serial number using the nRF8001 SDK 1.7 and I cant seem to work out where I should be making the call to lib_aci_get_address? After checking Table 30 of the nRF8001 datasheet, it states that I can call this function at the same places as the known working GetBatteryLevel function. So in the Heart Rate Monitor demo, in heart_rate_sensor.c I added a call to lib_aci_get_address just before the start_battery_monitoring call. I also added a check of the Opcode in lib_aci_cmd_response_hook and dump out a message when I receive ACI_CMD_GET_DEVICE_ADDRESS - which I am receiving. However the device doesnt come up advertising anymore. If I take out the lib_aci_get_address then its fine.
What I want to do, is to load the 8001's address into the Device Information - Serial Number characteristic using services_set_device_information_serial_number_string. However I am having problems with this as well. Where should I be writing this?
Any suggestions?
Mat