#NEWLINE# def send_join_ack( mfrid , productid , sensorid ) : #NEWLINE# #INDENT# response = OpenThings . alterMessage ( Messages . JOIN_ACK , header_mfrid = mfrid , header_productid = productid , header_sensorid = sensorid ) #NEWLINE# p = OpenThings . encode ( sensorid ) #NEWLINE# radio . transmitter ( ) #NEWLINE# radio . transmit ( p ) #NEWLINE# radio . receiver ( )