• Bluetooth services is not started

    Pymakr bluetooth services lopy not started
    15
    0 Votes
    15 Posts
    3k Views
    S
    @jmahesh Hi, I tried it too and it's working. Thank You!
  • Detecting rssi of multiple BLE beacons

    LoPy ble bluetooth estimote beacon rssi
    1
    0 Votes
    1 Posts
    992 Views
    No one has replied
  • 0 Votes
    3 Posts
    839 Views
    M
    thanks, i'm reading the python resource online
  • Bluetooth crashing, pycom continuously resetting

    LoPy lopy bluetooth
    7
    1 Votes
    7 Posts
    1k Views
    sebS
    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.
  • Lopy - picking up MAC address from Ibeacon

    LoPy bluetooth ble ibeacon mac lopy
    2
    0 Votes
    2 Posts
    1k Views
    J
    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.
  • Finding own MAC address.

    SiPy sypy mac address bluetooth
    2
    1 Votes
    2 Posts
    928 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.
  • Is the bluetooth broadcast data really 31 bytes?

    Discussion bluetooth
    3
    0 Votes
    3 Posts
    1k Views
    J
    @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..
  • Use external Bluetooth module on WiPy 2.0?

    Discussion bluetooth wipy 2.0 data
    4
    0 Votes
    4 Posts
    1k Views
    L
    @panos29 i have used e.g. HC05 it is comunicating throught RX/TX i do not know if can be something simpler..
  • 0 Votes
    4 Posts
    2k Views
    robert-hhR
    @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.
  • 0 Votes
    7 Posts
    2k Views
    F
    @robert-hh Thats great. Have skipped my attention so far... Thanks!
  • 0 Votes
    1 Posts
    996 Views
    No one has replied
  • 0 Votes
    7 Posts
    3k Views
    P
    @ekwus Thanks for the response. What kind of data rate is it possible to achieve using BLE?
  • 0 Votes
    2 Posts
    1k Views
    P
    Did you got any advise / response on creating an iBeacon with the WiPy2.0? Or did you figured it out yourself...?
  • Bluetooth scan cannot find device

    WiPy 2&3 bluetooth embc02 wipy 2.0
    14
    1 Votes
    14 Posts
    4k Views
    D
    @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
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • Wifi and Bluetooth disable

    MicroPython wifi bluetooth
    2
    0 Votes
    2 Posts
    1k 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.
  • Support for Bluetooth LE notifications?

    Discussion bluetooth ble android ios
    10
    0 Votes
    10 Posts
    4k 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
  • Bluetooth libraries news?

    Discussion wipy 2.0 bluetooth library release
    5
    2 Votes
    5 Posts
    2k 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
  • 1 Votes
    4 Posts
    2k 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.