nRF52840 Dongle only receives a notification packet with a payload 20 bytes or less

I'm using the Nordic Python libraries to receive the BLE data. I can send the data from our board with the nRF52840 chip on it. If I send the data to my Android phone with the nRF Toolbox app, I can send a packet with a payload of 60 bytes. Sending the same thing to the Nordic dongle, it only allows for a payload of 20 bytes or less.

The Python examples suggest an MTU of 250. Is there anything I can do to increase the payload size to send more bytes?

Parents Reply
  • I used that example to write my Python app so I already have that line in my code. I even tried to send the value to the BLEConfigConnGatt constructor. Below is some code from my Python app. This still made no difference.

    self.adapter.default_mtu = 250
    self.adapter.driver.open()
    gatt_cfg = BLEConfigConnGatt(att_mtu=self.adapter.default_mtu)
    gatt_cfg.att_mtu = self.adapter.default_mtu
    gatt_cfg.tag = 1
    self.adapter.driver.ble_cfg_set(BLEConfig.conn_gatt, gatt_cfg)
    self.adapter.driver.ble_enable()

Children
Related