Resources

Renesas IoT Sandbox Documentation

FreeSMS Library

The following functions provide limited access to Free SMS messaging capability, through Twilio. If you have your own Twilio credentials, use the Twilio Library so it consumes less of your Medium One Workflow Credits.


Import


To use this library and its functions, you must use the import line at the beginning of your Base Python code.

import FreeSMS


Functions


FreeSMS.sendSMS

Usage: FreeSMS.sendSMS(recipient, body)

Send an SMS message from sender phone number to recipient phone number.

  • Credit cost: 100
  • Parameters:
    • recipient: string recipient's phone number (North America only).
    • body: string the body of the message.
  • Returns:
    • the result is None if all goes well, or an error message from the service

Note: The user can unsubscribe from SMS by replying "stop" and re-subscribe by replying "start"



Sample Code

import FreeSMS

result = FreeSMS.sendSMS('5555555555','Hello from Renesas IoT Sandbox!')

Getting Started
User Roles & Permissions
Streams, Tags, & Data Types
Dashboard Widgets
API
Workflow Studio
Workflow Libraries
Metering
Special Characters
Third Party Integration
Mobile
API Explorer

FreeSMS Library

The following functions provide limited access to Free SMS messaging capability, through Twilio. If you have your own Twilio credentials, use the Twilio Library so it consumes less of your Medium One Workflow Credits.


Import


To use this library and its functions, you must use the import line at the beginning of your Base Python code.

import FreeSMS


Functions


FreeSMS.sendSMS

Usage: FreeSMS.sendSMS(recipient, body)

Send an SMS message from sender phone number to recipient phone number.

  • Credit cost: 100
  • Parameters:
    • recipient: string recipient's phone number (North America only).
    • body: string the body of the message.
  • Returns:
    • the result is None if all goes well, or an error message from the service

Note: The user can unsubscribe from SMS by replying "stop" and re-subscribe by replying "start"



Sample Code

import FreeSMS

result = FreeSMS.sendSMS('5555555555','Hello from Renesas IoT Sandbox!')