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

what hex value to be written on the the MCP (immediate alert service) for IOS

Hello Everyone,

I have been working around BLE profiles for few months and i have made several tested for each service via MCP(android) everything works fine but now i switched to IOS(MCP) when i connect for the first time it is asking static passkey and then its get connected and bonded when it comes to writing values like for an example am using immediate alert service when i press the write button it is asking me to write the hexadecimal values so i wrote 0*01 for mild alert but nothing happens in the NRF51DK the same functionality if i do in Android it makes the LED ON the Developement board so i request anyone could you suggest me how to test the proxmity service and immediate alert service in the IOS MCP do i have to make some changes in the functionality of the program or please tell me what needs to be done

Thank you prabhu

  • YES i have tested ble_prox_app on SDK 9 using IOS its getting connected and then am not able to do anything like immediate alert service in android device am able to see no alert, mild alert, high alert option whereas in the IOS NRF MCP am just seeing 0X __ (some value has to be written) i tried with 0x01 to send the mild alert signal to NRF51DK but nothing happens on the NRF51DK but normally it has to enable the LED 3 right for mild alert could you please share with me some screen shots how you tested the PROX exmaple ON IOS

  • Hi Prabhudurai,

    Attached is the screenshots:

    image description image description image description image description

    After that the LED3 on the nRF51 DK light up.

    Please provide us a sniffer trace capturing packets when you are testing. Also please run in debug mode and check if there is any write event.

  • Thank you so much for your kind reply and i am also managed to do proxmity app work but there is a one real big problem with IOS it is getting connected only for the first time properly and then every time i have to select the erasebond information in the bluetooth settings manually and then i have click connect option in the NRFMCP or NRFTOOLBOX then only it is working could you please tell me how can i do erase bond inforamtion for IOS by using software i do not wnat to erase bond manually could you suggest me some possible methods for doing via software

    NOTE;for andorid its working very well

  • Could you tell me what happens when you reconnect ? Have you check if the number of bonded central exceed the DEVICE_MANAGER_MAX_BONDS number ? A sniffer trace could give more information.

  • actually when i reconnect it is getting connected but not bonded if i write 0x01 on the immediate alert service nothing happening on the device side where if i delete the erase bond information on the bluetooth side and then its working very well sorry i cannot able to use sniffer trace because i do not have two devices along with me i just have only one NRF51DK

    where in the Andoird it getting connected automatically and works very well no need to delete the bond information its due to apple settings or there is somethign wrong in my software

Related