Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login
    1. Home
    2. Tags
    3. gattcconnection

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Log in to post

    • All categories
    • J

      How to notify other BLE devices from Wipy

      Watching Ignoring Scheduled Pinned Locked Moved WiPy 2&3 wipy 2.0 gattcconnection ble send data other
      2
      0 Votes
      2 Posts
      923 Views
      J
      @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

      Watching Ignoring Scheduled Pinned Locked Moved WiPy 2&3 service getting started gattcconnection import bluetooth
      2
      0 Votes
      2 Posts
      827 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

      Watching Ignoring Scheduled Pinned Locked Moved WiPy 2&3 ble wipy 2.0 gattcconnection bluetooth closed
      6
      0 Votes
      6 Posts
      2k 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