You are here: Forum Home → ANT Developers Forums → ANT General Questions → Thread
Setup Slave Background Scan:
&HA4; , 9 , &H46; , 0 , &HFF; ... &HFF; //set Network
&HA4; , 4 , &H42; , 0 , &H40; , 0 , &H01; //channel_assign 40=Receive Only
&HA4; , 5 , &H51; , 0 , &H00; , &H00; , &H00; , 0 //channel_id_slave
&HA4; , 2 , &H66; , 0 , 1 //Enable Extended Messages
&HA4; , 2 , &H6E; , 0 , &H80; //enable Lib Config
&HA4; , 2 , &H45; , 0 , 57 //channel_freq_slave
&HA4; , 2 , &H47; , 0 , 4 //Power 3dB
&HA4; , 2 , &H60; , 0 , 3 //set channel power to 0dB
&HA4; , 2 , &H63; , 0 , &H24; //set low priority Search Timeout = 60 sec
&HA4; , 2 , &H44; , 0 , &H00; //Slave Search Timeout = 90 sec default=25 sec
&HA4; , 1 , &H4B; , 0 //channel_open_slave
Setup Master Device Pairing Initialization:
&HA4; , 9 , &H46; , 0 , &HFF; ... &HFF; //set Network
&HA4; , 3 , &H42; , 0 , &H10; , 0 //channel_assign 10=transmit Bidirectional
&HA4; , 5 , &H51; , 0 , &H34; , &H12; , &H78; , 1 //channel_id TXType
&HA4; , 3 , &H43; , 0 , &H00; , &H20; //$2000, $4000, $8000, $FFFF Generic 4 Hz Frequency
&HA4; , 2 , &H45; , 0 , 57 //channel_freq_master
&HA4; , 2 , &H47; , 0 , 4 //Power 3dB
&HA4; , 2 , &H66; , 0 , 1 //Extended Messages ON
&HA4; , 2 , &H6E; , 0 , &H80; //enable Lib Config
&HA4; , 1 , &H4B; , 0 //channel_open_master