Myro Control Forum

Myro:Air => Tech Notes / FAQ => Topic started by: Myro Control on September 23, 2013, 02:47:43 pm

Title: RS232 Control Protocol v1.0
Post by: Myro Control on September 23, 2013, 02:47:43 pm
Here is the version 1.0 of the RS232 commands for Myro:Air. (http://www.myrocontrol.com/myroair) (a newer version is available here (http://www.myrocontrol.com/forum/index.php?topic=23091.0))

Baud Rate: 9600
Data Bits: 8
Parity: None
Stop Bits: 1

REQ = Request
RES = Response

REQ: *IP_ADDRESS<cr>
RES: #4372|XXX.XXX.XXX.XXX<cr>
       
REQ: *VER<cr>
RES: #522|1.0.0/I2013082900469602<cr>
       
REQ: *NEXT_TRACK<cr>
RES: #4385|OK<cr>
       
REQ: *PREV_TRACK<cr>
RES: #4364|OK<cr>
       
REQ: *PAUSE<cr>
RES: #1220|OK<cr>
       
REQ: *PLAY<cr>
RES: #848|OK<cr>
       
REQ: *ALBUM<cr>
RES: #1218|[ALBUM TITLE]<cr>
       
REQ: *ARTIST<cr>
RES: #1783|[ARTIST TITLE]<cr>
       
REQ: *SONG<cr>
RES: #824|[SONG TITLE]<cr>
       
REQ: *STREAM_TYPE<cr>
RES: #5413|[STREAM_TYPE]<cr>
             
REQ: *ALL_META<cr>
RES: #2849|[STATUS_TEXT]|[ALBUM]|[ARTIST]|[SONG]|[ELAPSED_TIME]<cr>

REQ: *ELAPSED_TIME<cr>
RES: #6131|[ELAPSED_TIME]<cr>

REQ: *STATUS<cr>
RES: #1796|[STREAM_TYPE]|[STATUS_TEXT]|[TRANSPORT_STATUS]<cr>  (example: #2A|Ready for AirPlay...|3<cr>)   

REQ: *DEVICE_NAME<cr>
RES: #5064|[DEVICE_NAME]<cr>
       
REQ: *MEM<cr>
RES: #498|[FREE MEM]<cr>

REQ: *ID<cr>
RES: #258|[ID]<cr>

EVENT WHEN TRACK CHANGES OR IS PLAYING UPDATES EVERY SECOND:
RES: @[STREAM_TYPE]|[STATUS_TEXT]|[TRANSPORT_STATUS]|[ALBUM]|[ARTIST]|[SONG]|[ELAPSED_TIME]
Title: Re: RS232 Control Protocol
Post by: Auvit on February 14, 2014, 03:07:27 pm
THIS COMMANDS ARE THE SAME IN THE MYRO BRIDGE?
Title: Re: RS232 Control Protocol
Post by: Myro Control on February 15, 2014, 01:43:49 pm
No, similar -- we have posted the Myro:Bridge RS-232 protocol here (http://www.myrocontrol.com/forum/index.php?topic=17503.msg17548#msg17548).
Title: Re: RS232 Control Protocol
Post by: Myro Control on February 17, 2014, 09:21:14 am
Attached is the pinout for RS-232 cable for Myro:Air.