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

Author Topic: RS232 Control Protocol v1.1  (Read 20768 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.1
« on: May 06, 2014, 10:59:21 am »
Here is version 1.1 of the RS232 commands for Myro:Air.

Features in GREEN available in firmware version 1.2.6 or higher.

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]|[TOTAL_TIME]<cr>

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

REQ: *TOTAL_TIME<cr>
RES: #4402|[TOTAL_TIME]<cr>

REQ: *ALBUM_ART<cr>
RES: #3707|[ALBUM_ART_AVAILABLE]|[URL]<cr>
(** NOTE: [ALBUM_ART_AVAILABLE] = 0 for no, 1 for yes)

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]|[TOTAL_TIME]|[ALBUM_ART_AVAILABLE]
(** NOTE: [ALBUM_ART_AVAILABLE] = 0 for no, 1 for yes)

EVENT WHEN ALBUM ART URL IS AVAILABLE:
RES: !|http://xxx.xxx.xxx.xxx/url_to_the_art.jpg
« Last Edit: May 06, 2014, 11:16:57 am by Myro Control »

Myro Control

  • Administrator
  • Full Member
  • *****
  • Posts: 208
  • Karma: +1/-0
  • Onwards and Upwards!
    • View Profile
Re: RS232 Control Protocol v1.1
« Reply #1 on: May 06, 2014, 11:03:56 am »
Attached is the pinout for RS-232 cable for Myro:Air.