print udid on connect

pull/3/head
cTn 11 years ago
parent a9f73b6384
commit 2b416c6821

@ -148,7 +148,7 @@ function onOpen(openInfo) {
// request configuration data
send_message(MSP_codes.MSP_UID, MSP_codes.MSP_UID, false, function() {
GUI.log('Unique device ID <span style="color: green">received</span>');
GUI.log('Unique device ID <span style="color: green">received</span> - <strong>0x' + CONFIG.uid[0].toString(16) + CONFIG.uid[1].toString(16) + CONFIG.uid[2].toString(16) + '</strong>');
send_message(MSP_codes.MSP_IDENT, MSP_codes.MSP_IDENT, false, function() {
GUI.timeout_remove('connecting'); // kill connecting timer

Loading…
Cancel
Save