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

peer to peer data transfer need to be 260 bytes in one send using ble_app_uart.c

Hi all,

we are using NRF52810 and SDK 15.0 (our own custom board)

working on ble_app_uart.c example.

we are able to send / receive 20bytes(approx).

we need to transfer 260 bytes in one send from nrf52810 to mobile app  and vise-versa. (app to nrf52810).

Both way communication (BLE and Mobile app) requires 260 bytes transfer between them  .

we checked so many examples in nordic devzone but we couldn't figure it out.

Please help with this issue.

Thanks and Regards,

venu

Parents
  • The maximum packet length for the S112 is 20 bytes of data. It is possible to increase the attribute size to:

    #define  BLE_GATTS_FIX_ATTR_LEN_MAX   (510)
     
    #define 

    BLE_GATTS_VAR_ATTR_LEN_MAX   (512)

    This means you need to transmit a lot of packets in one connection event to send 160 bytes. might be possible if you use connection event extension (which I think i supported by the s112, but not 100% sure, please check documentation)

    If you use the nRF52832 the maximum packet length is 255, so you would still need to send two packets to transmitt 260 bytes, but it would be possible to do so in one connection event.

Reply
  • The maximum packet length for the S112 is 20 bytes of data. It is possible to increase the attribute size to:

    #define  BLE_GATTS_FIX_ATTR_LEN_MAX   (510)
     
    #define 

    BLE_GATTS_VAR_ATTR_LEN_MAX   (512)

    This means you need to transmit a lot of packets in one connection event to send 160 bytes. might be possible if you use connection event extension (which I think i supported by the s112, but not 100% sure, please check documentation)

    If you use the nRF52832 the maximum packet length is 255, so you would still need to send two packets to transmitt 260 bytes, but it would be possible to do so in one connection event.

Children
No Data
Related