Myro Control   |   Myro:Air   |   Myro:Bridge   |   Myro:Home   |   Contact   |   Support

Author Topic: RS232 Control Protocol v1.0  (Read 32698 times)

0 Members and 1 Guest are viewing this topic.

Myro Control

  • Administrator
  • Full Member
  • *****
  • Posts: 208
  • Karma: +1/-0
  • Onwards and Upwards!
    • View Profile
RS232 Control Protocol v1.0
« on: September 23, 2013, 02:47:43 pm »
Here is the version 1.0 of the RS232 commands for Myro:Air. (a newer version is available here)

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]
« Last Edit: May 06, 2014, 11:09:49 am by Myro Control »

Auvit

  • Guest
Re: RS232 Control Protocol
« Reply #1 on: February 14, 2014, 03:07:27 pm »
THIS COMMANDS ARE THE SAME IN THE MYRO BRIDGE?

Myro Control

  • Administrator
  • Full Member
  • *****
  • Posts: 208
  • Karma: +1/-0
  • Onwards and Upwards!
    • View Profile
Re: RS232 Control Protocol
« Reply #2 on: February 15, 2014, 01:43:49 pm »
No, similar -- we have posted the Myro:Bridge RS-232 protocol here.
« Last Edit: February 17, 2014, 09:22:15 am by Myro Control »

Myro Control

  • Administrator
  • Full Member
  • *****
  • Posts: 208
  • Karma: +1/-0
  • Onwards and Upwards!
    • View Profile
Re: RS232 Control Protocol
« Reply #3 on: February 17, 2014, 09:21:14 am »
Attached is the pinout for RS-232 cable for Myro:Air.