Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

Example in header out of date? #36

Open
PaulWieland opened this issue Sep 3, 2014 · 0 comments
Open

Example in header out of date? #36

PaulWieland opened this issue Sep 3, 2014 · 0 comments

Comments

@PaulWieland
Copy link

There is a comment in the header of class.sosumi.php:

// Usage:
// $ssm = new Sosumi('username', 'password');
// $location_info = $ssm->locate(<device id>);
// $ssm->sendMessage('Your Message', true, <device id>, 'Important Message');

However the declaration for sendMessage is:

    public function sendMessage($device_id, $msg, $alarm = false, $subject = 'Important Message')

I was using the example to try and test the class and wasn't having any success. Then I realized the example doesn't have the arguments in the right order - however using the right arguments still doesn't work so I'm not sure if the class even still works!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant