1 (edited by Cassiope34 2018-04-02 09:59:56)

Topic: Hello Evgeny, is it possible to use RemoteXY with the Micro:Bit (BLE)

Hi Evgeny,

I would very much like to be able to use RemoteXY to make the most of my Micro:Bit card.
Unfortunately RemoteXY see my Micro:Bit card (BLE) but immediately responds to me "unknown error"
Would it be easy to adapt RemoteXY to the Micro:Bit card?

Cheers

Gilles

2

Re: Hello Evgeny, is it possible to use RemoteXY with the Micro:Bit (BLE)

It would indeed be nice to add BBC microbit to the RemoteXY library. Maybe someone can help me on github
https://github.com/FedericoBusero/RemoteXY

In fact, I think it can be done similar as I did with ESP32 Bluetooth classic:

- create a file class MicrobitBLESerial
like in https://github.com/ArcherHuang/Micro-bi … ightSensor
except that the UUID's should be
#define SERVICE_UUID             "0000FFE0-0000-1000-8000-00805F9B34FB" // UART service UUID
#define CHARACTERISTIC_UUID_RXTX "0000FFE1-0000-1000-8000-00805F9B34FB"
with properties read, notify, write_noresponse

because this is the UUID the app is looking for

- then change serial.h

3

Re: Hello Evgeny, is it possible to use RemoteXY with the Micro:Bit (BLE)

I implemented the functionality for microbit, but unfortunately it doesn't work.

You can download it from
https://github.com/FedericoBusero/Remot … RF_BLE.ino

(you need to download the full library from my github).

It doesn't work because the module is expecting a request from the app to subscribe to the notifications, but for some reason the app doesn't seem to send it.

So, something is going wrong in the app when calling setCharacteristicNotification and writeDescriptor, but I don't find what is wrong in the advertisement that could cause it.

4 (edited by FedericoBusero 2019-06-07 20:12:06)

Re: Hello Evgeny, is it possible to use RemoteXY with the Micro:Bit (BLE)

Yes,

RemoteXY is now possible on BBC:microbit.

Install the version of the RemoteXY library from https://github.com/FedericoBusero/RemoteXY

An example is added
https://github.com/FedericoBusero/Remot … RF_BLE.ino

You need the library arduino-BLEPeripheral to use BLE on nRF51822 chips.
    source: https://github.com/sandeepmistry/arduino-BLEPeripheral

To be able to use it you need on Android minimum version 4.4.4 of the RemoteXY app!
On iOS, it checked it on version 1.3.5 of the RemoteXY app

5

Re: Hello Evgeny, is it possible to use RemoteXY with the Micro:Bit (BLE)

Hello Federico,

very very nice!!

I'll test as soon as possible...

Many many thanks for your work.

Kind regards
Gilles.