Navigation

    Welcome to the Pycom forum

    Forum

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

    • Nagarjuna Reddy

      Bluetooth services is not started
      Pymakr • lopy bluetooth services not started • • Nagarjuna Reddy  

      15
      0
      Votes
      15
      Posts
      3042
      Views

      S

      @jmahesh Hi, I tried it too and it's working. Thank You!
    • soren

      Detecting rssi of multiple BLE beacons
      LoPy • ble bluetooth rssi beacon estimote • • soren  

      1
      0
      Votes
      1
      Posts
      981
      Views

      No one has replied

    • M

      Calling function within other files and order of loading..
      Discussion • bluetooth • • misterlisty  

      3
      0
      Votes
      3
      Posts
      795
      Views

      M

      thanks, i'm reading the python resource online
    • D

      Bluetooth crashing, pycom continuously resetting
      LoPy • lopy bluetooth • • Dam  

      7
      1
      Votes
      7
      Posts
      1442
      Views

      seb

      I'm glad you resolved your problems. I'll post back in this thread when I know the issue with the newer firmware is resolved.
    • soren

      Lopy - picking up MAC address from Ibeacon
      LoPy • lopy ble bluetooth mac ibeacon • • soren  

      2
      0
      Votes
      2
      Posts
      1482
      Views

      jmarcelino

      The MAC address printed on your beacons is just a nicely formatted version in hexadecimal of the 6 byte address. What you get from Python are the actual 6 bytes themselves (hence the b' at the start) and when you print them they get turned into the correspond ASCII characters for that value (or \xYY if it's not a printable character) You can use the binascii.hexlify function to turn each of those bytes into hexadecimal and make a string which is closer to what you have. For example your b'FS\xbd\x8c\xd2\x11' >>> import binascii >>> binascii.hexlify(b'FS\xbd\x8c\xd2\x11') b'4653bd8cd211' So this address is 46:53:bd:8c:d2:11 Of course you can split into pairs, add the colons and make all letters uppercase too using standard string manipulation.
    • A

      Finding own MAC address.
      SiPy • bluetooth sypy mac address • • alidaf  

      2
      1
      Votes
      2
      Posts
      897
      Views

      A

      Hi, have you find out how to discover Bluetooth Mac address? i cannot find this information nowhere. machine.unique_id and network.WLAN().mac() commands give the same mac address but if you put the device in ble advertising mode and scan the traffic with an Android app, you can see it is different from the previous ones.
    • A

      Is the bluetooth broadcast data really 31 bytes?
      Discussion • bluetooth • • alidaf  

      3
      0
      Votes
      3
      Posts
      942
      Views

      jmarcelino

      @alidaf Nope that's not supported and unlikely to be in the near future. If you need more than 31 bytes I recommend establishing a BLE connection and transferring data through characteristics..
    • P

      Use external Bluetooth module on WiPy 2.0?
      Discussion • bluetooth wipy 2.0 data • • panos29  

      4
      0
      Votes
      4
      Posts
      1168
      Views

      livius

      @panos29 i have used e.g. HC05 it is comunicating throught RX/TX i do not know if can be something simpler..
    • P

      Android WiPy2.0 Bluetooth connectivity?
      Discussion • ble bluetooth wipy 2.0 connection android • • panos29  

      4
      0
      Votes
      4
      Posts
      1621
      Views

      robert-hh

      @panos29 It's more about the ADC range, which is about 0.07 - 1.1V for the reading between 0 and 4096. I assume you would always need some kind of pre-amplifier/buffer, at least to protect the esp32 against damage,, and if you do not need to take values at hight speed, you can always use averaging to reduce the noise. The esp32 chip is told to have a built-in preamplifier, but that is not supported by Micropython, and I do not know whether it works.
    • F

      [LoPy] - Sending File to LoPy from Mobile Over Bluetooth
      LoPy • lopy ble bluetooth • • fuzzy  

      7
      0
      Votes
      7
      Posts
      1972
      Views

      F

      @robert-hh Thats great. Have skipped my attention so far... Thanks!
    • N

      Sending Files from LoPy to Android device (e.g. Phone) via Bluetooth
      LoPy • lopy ble bluetooth lopy ble • • neilh93  

      1
      0
      Votes
      1
      Posts
      987
      Views

      No one has replied

    • M

      LoPy: Micropython support on LoRa and BLE
      LoPy • lora micropython bluetooth support integration • • mark915  

      7
      0
      Votes
      7
      Posts
      2585
      Views

      P

      @ekwus Thanks for the response. What kind of data rate is it possible to achieve using BLE?
    • A

      Advertising as an iBeacon with WiPy2.0 using bluetooth.set_advertisement(..) function?
      WiPy 2&3 • bluetooth wipy2.0 lopy ble ibeacon • • armanafghani  

      2
      0
      Votes
      2
      Posts
      1336
      Views

      P

      Did you got any advise / response on creating an iBeacon with the WiPy2.0? Or did you figured it out yourself...?
    • A

      Bluetooth scan cannot find device
      WiPy 2&3 • bluetooth wipy 2.0 embc02 • • Arthur  

      14
      1
      Votes
      14
      Posts
      4072
      Views

      duffo64

      @Arthur I did a scan with an Ubertooth One laying around, just to confirm that my embc02 is working and to trace the exact content of its advertisements (hope will be useful for someone). systime=1503417955 freq=2402 addr=8e89bed6 delta_t=1008.339 ms rssi=-39 02 25 b4 46 0b ee f3 0c 0f 09 45 4d 42 65 61 63 6f 6e 31 38 30 39 31 00 0e ff 5a 00 bf f8 30 32 29 00 07 d2 e1 c0 01 23 21 3f Advertising / AA 8e89bed6 (valid)/ 37 bytes Channel Index: 37 Type: ADV_NONCONN_IND AdvA: 0c:f3:ee:0b:46:b4 (public) AdvData: 0f 09 45 4d 42 65 61 63 6f 6e 31 38 30 39 31 00 0e ff 5a 00 bf f8 30 32 29 00 07 d2 e1 c0 01 Type 09 (Complete Local Name) EMBeacon18091. Type ff (Manufacturer Specific Data) Company: EM Microelectronic-Marin SA Data: bf f8 30 32 29 00 07 d2 e1 c0 01 Data: b4 46 0b ee f3 0c 0f 09 45 4d 42 65 61 63 6f 6e 31 38 30 39 31 00 0e ff 5a 00 bf f8 30 32 29 00 07 d2 e1 c0 01 CRC: 23 21 3f systime=1503417956 freq=2402 addr=8e89bed6 delta_t=1002.886 ms rssi=-40 02 25 b4 46 0b ee f3 0c 0f 09 45 4d 42 65 61 63 6f 6e 31 38 30 39 31 00 0e ff 5a 00 bf f8 30 32 29 00 07 d2 e2 c0 01 d1 91 99 Advertising / AA 8e89bed6 (valid)/ 37 bytes Channel Index: 37 Type: ADV_NONCONN_IND AdvA: 0c:f3:ee:0b:46:b4 (public) AdvData: 0f 09 45 4d 42 65 61 63 6f 6e 31 38 30 39 31 00 0e ff 5a 00 bf f8 30 32 29 00 07 d2 e2 c0 01 Type 09 (Complete Local Name) EMBeacon18091. Type ff (Manufacturer Specific Data) Company: EM Microelectronic-Marin SA Data: bf f8 30 32 29 00 07 d2 e2 c0 01 Data: b4 46 0b ee f3 0c 0f 09 45 4d 42 65 61 63 6f 6e 31 38 30 39 31 00 0e ff 5a 00 bf f8 30 32 29 00 07 d2 e2 c0 01 CRC: d1 91 99 systime=1503417957 freq=2402 addr=8e89bed6 delta_t=1002.474 ms rssi=-40 02 25 b4 46 0b ee f3 0c 0f 09 45 4d 42 65 61 63 6f 6e 31 38 30 39 31 00 0e ff 5a 00 bf f8 30 32 29 00 07 d2 e3 c0 01 80 41 68 Advertising / AA 8e89bed6 (valid)/ 37 bytes Channel Index: 37 Type: ADV_NONCONN_IND AdvA: 0c:f3:ee:0b:46:b4 (public) AdvData: 0f 09 45 4d 42 65 61 63 6f 6e 31 38 30 39 31 00 0e ff 5a 00 bf f8 30 32 29 00 07 d2 e3 c0 01 Type 09 (Complete Local Name) EMBeacon18091. Type ff (Manufacturer Specific Data) Company: EM Microelectronic-Marin SA Data: bf f8 30 32 29 00 07 d2 e3 c0 01 Data: b4 46 0b ee f3 0c 0f 09 45 4d 42 65 61 63 6f 6e 31 38 30 39 31 00 0e ff 5a 00 bf f8 30 32 29 00 07 d2 e3 c0 01 CRC: 80 41 68 Logged in GitHub as https://github.com/pycom/pycom-micropython-sigfox/issues/54
    • P

      Bluetooth LE set_advertisement with flag and service_data
      MicroPython • ble bluetooth setadvertiseme servicedata • • PhS  

      1
      0
      Votes
      1
      Posts
      1109
      Views

      No one has replied

    • C

      Wifi and Bluetooth disable
      MicroPython • wifi bluetooth • • chrisi  

      2
      0
      Votes
      2
      Posts
      1239
      Views

      J

      @chrisi yes, you can use the USB port (as a serial port) and have access to the REPL or to update files using Atom/Pymkr for instance. An alternative would be to include code which enables Wi-Fi on some specific event, such as a press of the button on the expansion board or Pysense.
    • S

      Support for Bluetooth LE notifications?
      Discussion • ble bluetooth android ios • • scott  

      10
      0
      Votes
      10
      Posts
      3608
      Views

      F

      @wituwitu Did you find a way to solve this problem ? I'm having the same issue, I'm pretty sure I'm doing something wrong but I cannot find a solution
    • O

      Bluetooth libraries news?
      Discussion • bluetooth wipy 2.0 library release • • ozeta  

      5
      2
      Votes
      5
      Posts
      1883
      Views

      O

      @jmarcelino it sure would be very interesting but unfortunately i work almost alone and I have 3/4 months to get the things full working, and i was lucky enogh to start the project in summer season. I hope the gpy/fipy will be released before september so i can build the lte support for it or i'll have to deal with another problem lol
    • H

      Bluetooth characteristic notifications
      Discussion • ble bluetooth android android app ionic • • hardware_freak  

      4
      1
      Votes
      4
      Posts
      1476
      Views

      H

      @scott Thank you for you reply. I tested the server side notifications yesterday and my first tests worked so it looks good so far.
    • 1
    • 2
    • 3
    • 4
    • 5
    • 3 / 5