This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
component:modem [2020/11/25 07:10] hanschrome Fix example in order to work. |
component:modem [2023/04/09 02:54] (current) bioscreeper Added "Also, calls to set the strength that exceed the installed modem's maximum strength will simply set the modem's strength to it's maximum." to modem.setStrength() documenation |
||
---|---|---|---|
Line 33: | Line 33: | ||
//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. Also, calls to set the strength that exceed the installed modem's maximum strength will simply set the modem's strength to it's maximum. 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` |