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

Raspberry PI MeshProxy GattService receive notification problem

I'm trying to create application for working with nRF52 device. I have completed provisioning mesh success, and receive notification message about success operation (work with MeshProvisioning GattService - ok). But when I trying to work with MeshProxy GattService, all commands (such as send AppKey, Reset or Vendor command) send's without errors, and nothing receive in notification. Why notifications not received from MeshProxy GattService?

System info:
Hardware: Raspberry PI 4
OS: Raspbian
Bluetooth: version 5
Soft: Buez + tinyb (java)

Log command Add AppKey:

Log command Send Vendor command:

Parents
  • I think that problem is in enable notification on MeshProxy GattService -> Out Characteristic(00002ade-0000-1000-8000-00805f9b34fb)

    Debug information of Mesh mobile application, show this:

    2021-01-06 11:15:46.539 15048-15048/no.nordicsemi.android.nrfmeshprovisioner D/BleManager: gatt.setCharacteristicNotification(00002ade-0000-1000-8000-00805f9b34fb, true)
    2021-01-06 11:15:46.539 15048-15048/no.nordicsemi.android.nrfmeshprovisioner D/BluetoothGatt: setCharacteristicNotification() - uuid: 00002ade-0000-1000-8000-00805f9b34fb enable: true
    2021-01-06 11:15:46.542 15048-15048/no.nordicsemi.android.nrfmeshprovisioner V/BleManager: Enabling notifications for 00002ade-0000-1000-8000-00805f9b34fb
    2021-01-06 11:15:46.543 15048-15048/no.nordicsemi.android.nrfmeshprovisioner D/BleManager: gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x01-00)
    2021-01-06 11:15:46.568 15048-15048/no.nordicsemi.android.nrfmeshprovisioner I/BleManager: Data written to descr. 00002902-0000-1000-8000-00805f9b34fb, value: (0x) 01-00
    2021-01-06 11:15:46.568 15048-15048/no.nordicsemi.android.nrfmeshprovisioner I/BleManager: Notifications enabled

    It enabled activated by write value to BluetoothGattDescriptor.

    When I trying to do the same, I've got an error: Write Not Permitted!

Reply
  • I think that problem is in enable notification on MeshProxy GattService -> Out Characteristic(00002ade-0000-1000-8000-00805f9b34fb)

    Debug information of Mesh mobile application, show this:

    2021-01-06 11:15:46.539 15048-15048/no.nordicsemi.android.nrfmeshprovisioner D/BleManager: gatt.setCharacteristicNotification(00002ade-0000-1000-8000-00805f9b34fb, true)
    2021-01-06 11:15:46.539 15048-15048/no.nordicsemi.android.nrfmeshprovisioner D/BluetoothGatt: setCharacteristicNotification() - uuid: 00002ade-0000-1000-8000-00805f9b34fb enable: true
    2021-01-06 11:15:46.542 15048-15048/no.nordicsemi.android.nrfmeshprovisioner V/BleManager: Enabling notifications for 00002ade-0000-1000-8000-00805f9b34fb
    2021-01-06 11:15:46.543 15048-15048/no.nordicsemi.android.nrfmeshprovisioner D/BleManager: gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x01-00)
    2021-01-06 11:15:46.568 15048-15048/no.nordicsemi.android.nrfmeshprovisioner I/BleManager: Data written to descr. 00002902-0000-1000-8000-00805f9b34fb, value: (0x) 01-00
    2021-01-06 11:15:46.568 15048-15048/no.nordicsemi.android.nrfmeshprovisioner I/BleManager: Notifications enabled

    It enabled activated by write value to BluetoothGattDescriptor.

    When I trying to do the same, I've got an error: Write Not Permitted!

Children
Related