This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
component:modem [2015/04/05 07:33] rashy |
component:modem [2015/04/05 07:44] rashy Formatting |
||
---|---|---|---|
Line 30: | Line 30: | ||
All additional arguments are passed along as data. See `send`. | All additional arguments are passed along as data. See `send`. | ||
- `getStrength(): number` | - `getStrength(): number` | ||
- | The current signal strength to apply when sending messages. | + | The current signal strength to apply when sending messages. |
- | //Wireless network cards only.//\\ | + | //Wireless network cards only.// |
- `setStrength(value: number): number` | - `setStrength(value: number): number` | ||
- | Sets the signal strength. If this is set to a value larger than zero, sending a message will also generate a wireless message. The higher the signal strength the more energy is required to send messages, though. | + | Sets the signal strength. If this is set to a value larger than zero, sending a message will also generate a wireless message. The higher the signal strength the more energy is required to send messages, though. |
- | //Wireless network cards only.//\\ | + | //Wireless network cards only.// |
- `getWakeMessage():string` | - `getWakeMessage():string` | ||
- | Gets the current wake-up message.\\ | + | Gets the current wake-up message. |
- `setWakeMessage(message: string):string` | - `setWakeMessage(message: string):string` | ||
- | Sets the wake-up message to the specified **string**. | + | Sets the wake-up message to the specified **string**. |