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

cmd event handling (for lib_aci_get_address())

Hello!

I have been trying to figure out how to get the device ID/MAC address for the NRF8001, and I found the lib_aci function lib_aci_get_address() that calls a cmd event.

My problem now is that I don't know what to do with an event in the api. Do I need to pass in an event handler function somewhere where I can deal with the buffer that is populated with the address? Is there a global buffer that I can easily access? I am basically just lost...

Thanks!

Related