Hi, Does anyone know if there is windows (8.0) visual c++ command in the BluetoothGatt functions to use the memory request event with S110? Many Thanks
Hi, Does anyone know if there is windows (8.0) visual c++ command in the BluetoothGatt functions to use the memory request event with S110? Many Thanks
How are you communicating with the device? Are you using the nrf51 ble driver (nrf51-ble-driver_win_0.5.0)?
Hi Stian, Thanks for the reply, I have written my own software based on the UART example and a custom windows application in Visual C++. I thought a BluetoothGattGetCharacteristicValue() command should cause a BLE_EVT_USER_MEM_REQUEST in the event stack? Thanks
BLE_EVT_USER_MEM_REQUEST is caused by the ATT operation "Prepare Write Request": infocenter.nordicsemi.com/.../group___b_l_e___g_a_t_t_s___q_u_e_u_e_d___w_r_i_t_e___b_u_f___n_o_a_u_t_h___m_s_c.html
"Prepare Write Request" is used to queue a write request which is later executed by "Execute Write Request".
To me it seems like the equivalent in Visual C++ is the BluetoothGATTSetCharacteristicValue function (not sure about this): msdn.microsoft.com/.../hh450806(v=vs.85).aspx
"Calling BluetoothGATTSetCharacteristicValue after BluetoothGATTBeginReliableWrite, notifies the remote Bluetooth device to store this request into a prepare queue on the device."