Navigation

    Welcome to the Pycom forum

    Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. gattcconnection
    Log in to post

    • J

      How to notify other BLE devices from Wipy
      WiPy 2&3 • wipy 2.0 other ble send data gattcconnection • • jmahesh  

      2
      0
      Votes
      2
      Posts
      921
      Views

      jmarcelino

      @jmahesh You are connecting to GATT Server as client, so what you can do is request the server send you notifications. You can't send notifications as a client. Bluetooth.PROP_NOTIFY means you can request notifications on that characteristic. I'm guessing that characteristic is not writable (read only) hence you get that error? If what you want is to be notified by the Server (e.g. when the value changes) use the char.callback(trigger=Bluetooth.CHAR_NOTIFY_EVENT, handler=YourHandlerFunct, arg=YourOptionalArgument)
    • J

      Unable to get Service from Bluetooth Sensor Device
      WiPy 2&3 • bluetooth getting started import gattcconnection service • • jmahesh  

      2
      0
      Votes
      2
      Posts
      826
      Views

      S

      please add time.sleep after connection and make service as dictionary, things will work...
    • A

      Wipy + CC2650 - Bluetooth connection fail / return closed GATTCConnection
      WiPy 2&3 • ble bluetooth wipy 2.0 gattcconnection closed • • Arkaik  

      6
      0
      Votes
      6
      Posts
      2317
      Views

      A

      @berni I don't know if the bug was solved in new firmware releases, You should try the same code on the 1.4.0.b1 version, maybe it'll solve your problem.
    • 1 / 1