Skip to content
Ulf edited this page Feb 19, 2014 · 1 revision

##Overview

The boxcar_driver is an actor which sends messages to boxcar To use the boxcar actor you have to install the boxcar client on your iPhone.

##Setup

To use the boxcar_driver you need an installation of the boxcar ios client. From this installation you need the access token which you can find under preferences.

##Configuration

{thing,"Boxcar", [{type,actor}, {icon,"message.png"}, {ets,false}, {driver,{boxcar_driver,handle_msg},[{data,[]}]}, {activ,true}, {timer,0}, {database,[]}, {description,"Boxcar client"}]},

Using boxcar driver

If want to send a message to your boxcar client over the boxcar_driver, you need the access token.

The body of your message which you send to the boxcar driver looks like this :

[{account, Account}, {title, Title}, {message, Message}, {sound, Sound}]]

where account : The account token from your boxcar client title : The title of the message which you will send message : The message which you will send sound: A sound which will be played when the message arrives the boxcar client. sound

Clone this wiki locally