I am trying to make the p8 connect to the wheel, and then replicate the wheel's services and offer them, so that a phone can connect to the watch and then the wheel, like a bridge
It is working, amazing what one can do with espruino, but I have come to a problem.
When it comes to the phone app that I want to use, it does some checks on a list of characteristics and services it expects to find, and closes the connection if one is not there. They are not needed, but it does it anyway.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@gordon, I have a question if possible.
I am trying to make the p8 connect to the wheel, and then replicate the wheel's services and offer them, so that a phone can connect to the watch and then the wheel, like a bridge
It is working, amazing what one can do with espruino, but I have come to a problem.
When it comes to the phone app that I want to use, it does some checks on a list of characteristics and services it expects to find, and closes the connection if one is not there. They are not needed, but it does it anyway.
The code that does the checks is like so:
and the services among others are those, that I cannot create.:
because they are on 0x1800 and 0x1801.
The app is wheellog from github, I removed the check and compiled it and it connects fine, but It would be nice if it worked with all programs.
Is it a dead end, of could I add the missing characteristics?