diff --git a/FRUIT.png b/FRUIT.png new file mode 100644 index 0000000..3b22418 Binary files /dev/null and b/FRUIT.png differ diff --git a/InterimReportRomanMuntean.rtf b/InterimReportRomanMuntean.rtf new file mode 100644 index 0000000..49b4695 Binary files /dev/null and b/InterimReportRomanMuntean.rtf differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..728e824 --- /dev/null +++ b/index.html @@ -0,0 +1,7 @@ + + + Welcome + +

Test filezilla update: success

+ + diff --git a/index.php b/index.php new file mode 100644 index 0000000..6fac38e --- /dev/null +++ b/index.php @@ -0,0 +1,40 @@ + + + +HelloW + + + + + + + diff --git a/known_hosts b/known_hosts new file mode 100644 index 0000000..84429c3 --- /dev/null +++ b/known_hosts @@ -0,0 +1,2 @@ +|1|XASLdPCoqMDV1fFX3nwDqehvOdg=|520r4KhXOWrgupiq4+i0Mgse3Mw= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBASuP4YhZ92KVvTct8oy+Or6OXKL8hfAktgXkhjTb+GyuuYCla2BlgbfMIYBi348Zz9TC8HBeDRO3wXWKS4bh/0= +|1|Awy3bum4iPR5rXZKYx7yKeiQxtM=|2fDX9GPAzvwVcpUwqQ1LamDHeEc= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBASuP4YhZ92KVvTct8oy+Or6OXKL8hfAktgXkhjTb+GyuuYCla2BlgbfMIYBi348Zz9TC8HBeDRO3wXWKS4bh/0= diff --git a/list.php b/list.php new file mode 100644 index 0000000..5a7deca --- /dev/null +++ b/list.php @@ -0,0 +1,13 @@ + +executeQuery("$user.testData", $query); + print("The contents of the collection $user.testData are:"); + print_r($cursor->toArray()); +?> diff --git a/phplog.PNG b/phplog.PNG new file mode 100644 index 0000000..a0fff60 Binary files /dev/null and b/phplog.PNG differ diff --git a/puttyDEBUGphp.png b/puttyDEBUGphp.png new file mode 100644 index 0000000..8af87bd Binary files /dev/null and b/puttyDEBUGphp.png differ diff --git a/record.php b/record.php new file mode 100644 index 0000000..cb141e9 --- /dev/null +++ b/record.php @@ -0,0 +1,41 @@ + +Array: "); + var_dump($json_obj); + print("
"); + $myfile = file_put_contents('logs.txt', $json_str.PHP_EOL , FILE_APPEND | LOCK_EX); + try { + $collection->insertOne($json_obj); + } catch (\Exception $e) { + print("Insert failed."); + print_r($e); + exit(); + } + $filter = []; + $options = []; + $query = new MongoDB\Driver\Query($filter, $options); + $cursor = $manager->executeQuery("$user.testData", $query); + print("The contents of the collection $user.testData are:"); + print_r($cursor->toArray()); +?> diff --git a/scumficcacy.png b/scumficcacy.png new file mode 100644 index 0000000..16c2ebb Binary files /dev/null and b/scumficcacy.png differ diff --git a/server.PNG b/server.PNG new file mode 100644 index 0000000..60d670f Binary files /dev/null and b/server.PNG differ diff --git a/serverdetails.PNG b/serverdetails.PNG new file mode 100644 index 0000000..7011c68 Binary files /dev/null and b/serverdetails.PNG differ diff --git a/sigfoxMessage.py b/sigfoxMessage.py new file mode 100644 index 0000000..44b014b --- /dev/null +++ b/sigfoxMessage.py @@ -0,0 +1,23 @@ +from network import Sigfox +import socket +import ubinascii + +print("SiPy test program.\n") +​ +# init Sigfox for RCZ1 (Europe) +sigfox = Sigfox(mode=Sigfox.SIGFOX, rcz=Sigfox.RCZ1) + +s = socket.socket(socket.AF_SIGFOX, socket.SOCK_RAW) + +# make the socket blocking +s.setblocking(True) + +# configure it as uplink only +s.setsockopt(socket.SOL_SIGFOX, socket.SO_RX, False) + +# send some bytes +msg="ABCD" +print("Sending message") +print(msg) +s.send(msg) +print("sent.\n") diff --git a/test.php b/test.php new file mode 100644 index 0000000..90c6422 --- /dev/null +++ b/test.php @@ -0,0 +1,27 @@ + + + Demonstrateur SigFox + + + + +