This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * 433MHzSenderPT2262.cpp | |
| * | |
| * 433 MHz sender for PT2262/PT2272 sender/receiver chip combinations. | |
| * https://cdn-shop.adafruit.com/datasheets/PT2262.pdf | |
| * | |
| * Copyright (C) 2020 Armin Joachimsmeyer | |
| * armin.joachimsmeyer@gmail.com | |
| * | |
| * 433MHzSenderPT2262 is free software: you can redistribute it and/or modify |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh -e | |
| hostname=$1 | |
| device=$2 | |
| file=$HOME/.dynv6.addr6 | |
| [ -e $file ] && old=`cat $file` | |
| if [ -z "$hostname" -o -z "$token" ]; then | |
| echo "Usage: token=<your-authentication-token> [netmask=64] $0 your-name.dynv6.net [device]" | |
| exit 1 | |
| fi |