View Source ExFrontier (ex_frontier v0.1.0)

Library used for connecting and controlling radios based on Frontier

from the manufacturer website Frontier’s leading SmartRadio modules combine DAB+, FM, Bluetooth with Internet Radio, Podcasts and audio streaming services including Spotify, Amazon Music, Tidal, Qobuz and Deezer. SmartRadios can be controlled with a Smartphone using the Frontier UNDOK™ application.

Library is mostly based on sniffing traffic from the android app and also on some documentation found on the internet

Link to this section Summary

Functions

creates a connection that needs to be passed to every request

discards the session_id

forward

returns a list of items about audio setup

returns a list of items about clock

returns track duration

returns list of predefined equalizer modes

returns friendly name of device

returns system info

returns a list of items about current network settings

returns selected playing input mode

returns list of supported wifi modes

returns current mute state

get a list of items about nav state

returns notifications or timeouts if none are sent

returns a list of items about current track

returns a list of items about play state

returns current artist

returns current artist

returns cover uri

returns name of current playing item

returns description of current playing item

returns playing status

returns current mute state

returns status of the unit 0 - loading 1 - ready

returns current volume

returns amount of volume steps

returns list of wifi networks

returns a list of items about wired connection

returns a list of items about wireless connection

TODO inits the radio

navigates 1 level up

disables navigation

enables navigation

returns items in current menu optional pagination params from = default -1 items = default 100

returns the number of items in current menu

navigates to the the root node

selects current item to play map type is not 0

returns navigation state 0 - disabled 1 - enabled

navigates inside a map map type is 0

pause

play

play, pause, forward, rewind modes

rewind

sets current playack mode

sets mute state

sets power state

sets volume in range returned by get_volume_steps

Link to this section Functions

creates a connection that needs to be passed to every request

discards the session_id

forward

returns a list of items about audio setup

returns a list of items about clock

returns track duration

returns list of predefined equalizer modes

returns friendly name of device

returns system info

returns a list of items about current network settings

returns selected playing input mode

returns list of supported wifi modes

returns current mute state

get a list of items about nav state

returns notifications or timeouts if none are sent

returns a list of items about current track

returns a list of items about play state

Link to this function

get_play_info_album(conn)

View Source

returns current artist

Link to this function

get_play_info_artist(conn)

View Source

returns current artist

Link to this function

get_play_info_graphics(conn)

View Source

returns cover uri

Link to this function

get_play_info_name(conn)

View Source

returns name of current playing item

Link to this function

get_play_info_text(conn)

View Source

returns description of current playing item

returns playing status

returns current mute state

returns status of the unit 0 - loading 1 - ready

returns current volume

returns amount of volume steps

returns list of wifi networks

returns a list of items about wired connection

returns a list of items about wireless connection

TODO inits the radio

pause

play

Link to this function

play_control(conn, value)

View Source

play, pause, forward, rewind modes

rewind

TODO

Link to this function

set_friendly_name(conn, value)

View Source

sets device name

sets current playack mode

sets mute state

sets power state

sets volume in range returned by get_volume_steps