Download presentation
Presentation is loading. Please wait.
Published byGarry Moody Modified over 8 years ago
1
ANT Interface Jae hoon, Woo August 9, 2012 KNU RTLab. Seminar
2
Contents Several times Paring based Proximity Message Structure Extended Messages Format RSSI Output Progress Report Further works
3
Several times Paring based Proximity Slave Node 의 움직임에 따른 Master Node 와의 거리에 따라 복수의 Paring 을 가능하게 하고자 한다 노드간의 거리는 RSSI 값을 사용한다. RSSI CH_ID RSSI CH_ID RSSI CH_ID Master Node Slave Node Master Node
4
ANT Message Structure Sync Msg Length Msg ID Data_1Data_2... Data_N Check Sum ANT serial message structure (message length 13byte)
5
Extended Messages Format There are two formats supported by ANT, flagged and legacy. There are two ways to configure extended messaging; Lib Config (0x6E), Enable Extended Messages (0x66) Lib Config : CH ID, RSSI, timestamp information Enable Extended Messages : only the channel ID
6
Flagged extended data messages Please note that flagged extended data messages must be enabled using ANT_LibConfig(0x6E) messages
7
Flagged extended data messages ANT HOST ANT/HOST Interface ANT/HOST Interface [Master Node] [Slave Node] ANT_LibConfig(0x40) RF CHANNEL ChannelEventFunc()
8
Extended Messages Format Enabling RSSI extended data at the receiver Implementation outlines the steps to configure RSSI extended information on a slave device. Boxes with dashed outlines are optional steps; if not specifically set, default values for these parameters are used. Boxes shaded in grey refer to parameters that are required to establish any ANT channel. White boxes relate to parameters that should be configured to enable extended RSSI data. First, the Assign Channel (0x42) command assigns a channel type. This example assigns a bi-directional slave channel type. Next, the channel ID and channel period should be set as desired. This example sets a completely wild-card channel ID and uses a 4Hz channel period. Finally, enable extended messaging using the LibConfig(0x6E) message and the appropriate flag byte.
9
RSSI Output (Android API)
10
Progress Report Library 수정 및 추가 –> ANT_DLL 생성 [ant.h] [antmessage.h]
11
Progress Report Library 수정 및 추가 –> ANT_DLL 생성 [ant.cpp]
12
Progress Report ANT_DLL 링크 및 함수 포인터 설정
13
Further works ANT library implementation (C++ ver.,Android ver.) Measure RSSI value from C7 node(C++ code) to android phone Review ANT Application note o Continuous Scanning Mode for Asynchronous Message o Background Scanning Channel
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.