{"id":27,"date":"2012-11-04T14:31:58","date_gmt":"2012-11-04T14:31:58","guid":{"rendered":"http:\/\/ermine-electronics.co.uk\/?p=27"},"modified":"2012-11-04T14:31:58","modified_gmt":"2012-11-04T14:31:58","slug":"how-to-change-a-llap-device-id-using-teraterm-script","status":"publish","type":"post","link":"https:\/\/www.richardmudhar.com\/blog\/2012\/11\/how-to-change-a-llap-device-id-using-teraterm-script\/","title":{"rendered":"How to change a LLAP device ID using Teraterm script"},"content":{"rendered":"<p><em>Note: after doing this I found you should be able to change the Device ID directly via the serial connection to the device using the AT command ATMY, so I guess that would be ATMYEB here.<\/em><\/p>\n<p>You have to send an ack from the control node (usually your PC) within 1\/10s of the a&#8211;STARTED&#8211; message showing up to config a LLAP node. That\u2019s way too fast for me to type. I used <a href=\"http:\/\/en.wikipedia.org\/wiki\/Tera_Term\" target=\"_blank\">Teraterm<\/a> (the BSD licensed V4.75), which is a SSH and serial terminal program. It also supports scripting, and I used a previous version years and years ago in the old Win95 days.<\/p>\n<p>Here\u2019s a teraterm script to switch ORIGID to DEVID. Start Teraterm connected to your FTDI USB port<\/p>\n<p style=\"text-align: center;\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"460\" height=\"281\" class=\" wp-image-28 aligncenter\" title=\"Start Teraterm in serial mode on your FTDI cable USB port\" alt=\"Start Teraterm in serial mode on your FTDI cable USB port\" src=\"https:\/\/i0.wp.com\/megalithia.com\/wp-content\/uploads\/2012\/11\/1211ee_ftdiusb.gif?resize=460%2C281\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Power up a XRF on an XBBO board and connect to it via serial. Once it\u2019s running and in range, ie you see the<\/p>\n<pre>a--STARTED--<\/pre>\n<p>message repeated five times when you power up your remote device, power off the device you want to configure. Start the macro,<\/p>\n<figure id=\"attachment_29\" aria-describedby=\"caption-attachment-29\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.oaktreelabs.co.uk\/blog\/wp-content\/uploads\/2012\/11\/1211ee_ttmacro.gif\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-29\" alt=\"How to start a Teraterm macro\" src=\"https:\/\/i0.wp.com\/www.oaktreelabs.co.uk\/blog\/wp-content\/uploads\/2012\/11\/1211ee_ttmacro-300x162.gif?resize=300%2C162\" width=\"300\" height=\"162\" \/><\/a><figcaption id=\"caption-attachment-29\" class=\"wp-caption-text\">How to start a Teraterm macro<\/figcaption><\/figure>\n<p style=\"text-align: center;\">\n<p>Here\u2019s the macro<\/p>\n<pre>; start of macro\nDEVID=\"EB\"\nORIGID=\"--\"\ndispstr #$1B\"[2J\"\nwait \"a\"ORIGID\"STARTED\"\ndispstr 10 13 \"a\"ORIGID\"ACK------\"\nsend \"a\"ORIGID\"ACK------\"\npause 2\ndispstr\u00a0 10 13 \"a\"ORIGID\"CHDEVID\"DEVID\nsend \"a\"ORIGID\"CHDEVID\"DEVID\nwait \"a\"ORIGID\"CHDEVID\"DEVID\ndispstr\u00a0 10 13 \"a\"ORIGID\"REBOOT---\"\nsend \"a\"ORIGID\"REBOOT---\"\nwait \"a\"DEVID\"STARTED--\"\ndispstr\u00a0 10 13 \"a\"DEVID\"STARTED--\"\n; end of macro<\/pre>\n<p>Your device should be set to the new DEVID<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Note: after doing this I found you should be able to change the Device ID directly via the serial connection to the device using the AT command ATMY, so I guess that would be ATMYEB here. You have to send an ack from the control node (usually your PC) within 1\/10s of the a&#8211;STARTED&#8211; message &hellip; <a href=\"https:\/\/www.richardmudhar.com\/blog\/2012\/11\/how-to-change-a-llap-device-id-using-teraterm-script\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to change a LLAP device ID using Teraterm script&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13],"tags":[21,51],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-sensors","tag-chdevid","tag-teraterm"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5aOO7-r","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":0,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}