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

Cannot open Tx Pipe mapped to the Battery Level characteristic nrf8001

I'm using the attached proximity_setup.xml ( proximity_setup.xml). I'm trying to use the Battery Service to send Battery Level notification.

I added the following code to check if the Tx Pipe PIPE_BATTERY_BATTERY_LEVEL_TX mapped to the Battery Level characterisitc is open. I added it in the handling of ACI_EVT_PIPE_STATUS. Unfortunately, the pipe isnt Open. How cna i open this Tx Pipe ?

//mash_hash 19012016 if (lib_aci_is_pipe_available(&aci_state, PIPE_BATTERY_BATTERY_LEVEL_TX)) { Serial.println(F("BATTERY LEVEL NOTIFY AVAILABLE")); } else { Serial.println(F("BATTERY LEVEL NOTIFY NOT AVAILABLE")); }

Parents Reply Children
No Data
Related