cujomalainey / ant-arduino Goto Github PK
View Code? Open in Web Editor NEWAn implementation of a ANT driver for Arduino, Mbed and ESP-IDF
License: GNU General Public License v2.0
An implementation of a ANT driver for Arduino, Mbed and ESP-IDF
License: GNU General Public License v2.0
Example which implements the Search List procedure defined in the ANT documentation
Pretty sure it works, but need just make sure the radio is responding with an OK
xbee-arduino has a framework for automatically tracking the message response and tracking it with the message, this needs to be reimplemented.
Add extended fields
Use reset to disable fields
The NRF51 is a specialized BLE chip - but it is possible to use this library with the ESP32 or are any functions missing?
Does anyone have success/experience with that combination?
TX BurstTransferData
TX Advanced Burst Data Message
I am trying to use the library on an nRF52840 (S340) using the internal radio, unfortunately I am stuck at the early beginning since I am not able to run even the exaple NativeAnt code.
The compiler returns the following code:
NativeAnt:32:1: error: 'ArduinoNativeAnt' does not name a type; did you mean 'ArduinoSerialAnt'? 32 | ArduinoNativeAnt ant; | ^~~~~~~~~~~~~~~~ | ArduinoSerialAnt /tmp/arduino_modified_sketch_347487/NativeAnt.ino: In function 'void setup()': NativeAnt:54:5: error: 'ant' was not declared in this scope; did you mean 'int'? 54 | ant.begin(TOTAL_CHANNELS, ENCRYPTED_CHANNELS); | ^~~ | int /tmp/arduino_modified_sketch_347487/NativeAnt.ino: In function 'void loop()': NativeAnt:92:5: error: 'ant' was not declared in this scope; did you mean 'int'? 92 | ant.readPacket(); | ^~~ | int exit status 1 'ArduinoNativeAnt' does not name a type; did you mean 'ArduinoSerialAnt'?
Any suggestion on how to overcome this issue?
Silvio
make an example using the software serial library
TX SetEncryptionKey Message
Transmit only and receive only definitions appear to be swapped from the ANT spec.
#define CHANNEL_TYPE_UNIDIRECTIONAL_RECEIVE 0x50
#define CHANNEL_TYPE_UNIDIRECTIONAL_TRANSMIT 0x40
From Table 5-1. ANT channel types
0x40
Slave Receive Only Channel (diagnostic)
0x50
Master Transmit Only Channel (legacy)
Use radio CTS pin to make sure we only write when the radio is ready.
Files created, that's it.
Hi
I have here those models and ANT USB dongle to PC
Will work with them the communication ?
I mean nrf52832
Hello,
What exacly i need to built a heart ratę monitor? Its arduino and nrf52 chip enought?
Optional, allows for power conservation, ground it when we want to write to the radio.
Implement optional fields
Proximity search example using proximity bins as defined in ANT documentation
Add support for Tx messages
we have detected that you changed the name of the library in library.properties
from
ANT-Arduino library
to
ANT-Arduino
is that right?
We are introducing a change in the library manager that forbids this kind of changes and ignore the releases with the name that differs from the name registered in the library index.
Is it ok for you to keep the new name ANT-Arduino
? The older releases with a different name will be ignored by the library manager. In absence of an answer from you we will proceed with this proposal next week.
See also: arduino/Arduino#7127
JOB 595 - 2018/01/15 15:43:15 Scraping https://github.com/cujomalainey/ant-arduino.git
JOB 595 - 2018/01/15 15:43:16 Checking out tag: 0.1.0
JOB 595 - 2018/01/15 15:43:16 Release ANT-Arduino library:0.1.0 already loaded, skipping
JOB 595 - 2018/01/15 15:43:16 Checking out tag: 0.1.1
JOB 595 - 2018/01/15 15:43:16 Release ANT-Arduino library:0.1.1 already loaded, skipping
JOB 595 - 2018/01/15 15:43:16 Checking out tag: 0.2.0
JOB 595 - 2018/01/15 15:43:16 Release ANT-Arduino library:0.2.0 already loaded, skipping
JOB 595 - 2018/01/15 15:43:16 Checking out tag: 0.3.0
JOB 595 - 2018/01/15 15:43:16 Release ANT-Arduino:0.3.0 has wrong library name, should be ANT-Arduino library
JOB 595 - 2018/01/15 15:43:16 Checking out tag: 1.0.0
JOB 595 - 2018/01/15 15:43:16 Release ANT-Arduino:1.0.0 has wrong library name, should be ANT-Arduino library
JOB 595 - 2018/01/15 15:43:16 Checking out tag: 1.0.1
JOB 595 - 2018/01/15 15:43:16 Release ANT-Arduino:1.0.1 has wrong library name, should be ANT-Arduino library
See also: arduino/Arduino#7127
Currently all varible length messages have their length defined to their standard lengths, this needs to changes so they support the full message
The following frameworks appear to be the best targets for porting the library going forward
Update as of march 2020, platformio supports zephyr
Please leave comments here if there is another platform you think would be a good additional target. This work is planned for after the next release of antplus-arduino which releases the shifting and MOxy master profiles
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.