News:

SMF - Just Installed!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Ariel

#1
Hello ,
Try using the nRF Master Control app on Google Play to discover your device & talk to it. The BLE BGLib doesn't need any encryption/ pairing to send and receive data. I am using the GATT_HANDLE_C_TX_DATA handle  and the function call to command attribute write.
the following are the parameters to this function.
/* Function */
void ble_cmd_attclient_write_command(
uint8 connection,
uint16 atthandle,
uint8 data_len,
const uint8* data_data
);
my_data is just an array of size 10. Use the following in void loop()

uint8_t result = ble112.ble_cmd_attributes_write(GATT_HANDLE_C_TX_DATA,0, 10,my_data);
Hope this helps,
Regards,
#2
Hello Brooks ,
Try using the nRF Master Control app on Google Play to discover your device & talk to it. The BLE BGLib doesn't need any encryption/ pairing to send and receive data. I am using the GATT_HANDLE_C_TX_DATA handle  and the function call to command attribute write.
the following are the parameters to this function.
/* Function */
void ble_cmd_attclient_write_command(
uint8 connection,
uint16 atthandle,
uint8 data_len,
const uint8* data_data
);
my_data is just an array of size 10. Use the following in void loop()

uint8_t result = ble112.ble_cmd_attributes_write(GATT_HANDLE_C_TX_DATA,0, 10,my_data);
Hope this helps,
Regards,

#3
Hello ,
Try using the nRF Master Control app on Google Play to discover your device & talk to it. The BLE BGLib doesn't need any encryption/ pairing to send and receive data. I am using the GATT_HANDLE_C_TX_DATA handle  and the function call to command attribute write.
the following are the parameters to this function.
/* Function */
void ble_cmd_attclient_write_command(
uint8 connection,
uint16 atthandle,
uint8 data_len,
const uint8* data_data
);
my_data is just an array of size 10. Use the following in void loop()

uint8_t result = ble112.ble_cmd_attributes_write(GATT_HANDLE_C_TX_DATA,0, 10,my_data);
Hope this helps,
Regards,
#4
Hey Thanks a lot. I was myself looking for a way to transmit data from the BLE to a my android.
the handler works fine.
uint8_t result = ble112.ble_cmd_attributes_write(GATT_HANDLE_C_TX_DATA,0, 11,ble_tx_arr);
#5
Hello Brooks,

I see that you were able to transmit data through the BLE? Can you please guide me about which interface are you using to do so ? Thanks in advance.

Regards,