Commit Graph

112 Commits

Author SHA1 Message Date
Stefan `Sec` Zehl 64d22980f2 Add nrf_check_reset, and run it every 5 seconds.
Also: add more debugging
2011-08-04 13:11:28 +02:00
Stefan `Sec` Zehl 8b93635425 bugfix 2011-08-03 23:12:43 +02:00
Stefan `Sec` Zehl 0c7afe0eb1 Disable unencrypted receive by default. also add meshkey 2011-08-03 21:57:09 +02:00
Stefan `Sec` Zehl 187fde3638 Add mesh debugging counter 2011-08-03 16:46:48 +02:00
Stefan `Sec` Zehl 718f3fc381 Set correct channel for openbeacon 2011-08-03 00:24:31 +02:00
Stefan `Sec` Zehl 5dacadbb3e Mesh now supports non-timestamp but increasing messages. 2011-08-02 01:40:44 +02:00
Stefan `Sec` Zehl d4c48f66c2 Disable nrf on lowpower-off 2011-08-01 05:31:47 +02:00
Stefan `Sec` Zehl cccb869423 Fix a few warnings 2011-08-01 05:22:24 +02:00
Stefan `Sec` Zehl 1ccda41467 Sign error. Whoops. 2011-07-31 22:46:24 +02:00
Stefan `Sec` Zehl aa821fca3f Fix a few things. 2011-07-31 22:13:06 +02:00
Stefan `Sec` Zehl 8bc5424607 Fix time and generation handling a bit 2011-07-31 00:53:53 +02:00
Stefan `Sec` Zehl 8625d1b3ef Mesh++ Now we can display messages. 2011-07-30 19:06:12 +02:00
Stefan `Sec` Zehl 1a23641c8d Refactor mesh stuff 2011-07-30 16:10:30 +02:00
Stefan `Sec` Zehl 1077b5fd1e Fix filename to be the same in read && write 2011-07-30 15:30:35 +02:00
Stefan `Sec` Zehl 625af67f3f New polling-based funk receive functions. 2011-07-27 23:38:52 +02:00
Stefan `Sec` Zehl c896b4645e rename random() to getRandom(), just to please you. 2011-07-24 15:58:47 +02:00
schneider cdaa8f78ca added random number generator based on adc and xxtea 2011-07-23 23:47:42 +02:00
schneider b9a26a5698 openbeacon: corrected header 2011-07-23 22:29:57 +02:00
schneider 404b789c04 openbeacon: use chip id 2011-07-23 19:17:14 +02:00
schneider 76a84b354f vcard: small clean up 2011-07-23 17:58:56 +02:00
schneider ec956a3263 working encrypted filetransfer. 2011-07-23 15:35:00 +02:00
Stefan `Sec` Zehl c5e8b92c4a Rename key to openbeaconkey to reduce global namespace pollution 2011-07-19 09:59:16 +02:00
schneider 643e8365aa openbeacon: increment seq counter on boot 2011-07-19 00:19:50 +02:00
Stefan `Sec` Zehl 49c55eae0e Fix warnings 2011-07-18 20:27:18 +02:00
schneider a684899016 openbeacon: use 24c3 key 2011-07-18 10:31:58 +02:00
schneider 2d4e1163d0 Merge branch 'master' of github.com:r0ket/r0ket 2011-07-18 01:17:44 +02:00
schneider 0eb87072ff funk: use openbeacon code 2011-07-18 01:16:44 +02:00
Stefan `Sec` Zehl 4d5a355e96 Fix warnings. Remove unnecesssary dup of get_rc 2011-07-17 22:20:14 +02:00
Stefan `Sec` Zehl ea90f92ebb add proper "const" qualifiers 2011-07-17 22:08:27 +02:00
schneider cf9a19de17 openbeacon: set mac 2011-07-17 21:01:09 +02:00
schneider bfbc6c2732 openbeacon: save seq to file 2011-07-17 20:32:17 +02:00
Stefan `Sec` Zehl 093370587f add nrf_set_strength() - openbeacon needs it :-) 2011-07-17 20:01:07 +02:00
schneider 30900a87ba openbeacon: fixes 2011-07-17 17:42:19 +02:00
schneider c14b529742 added openbeacon helper files 2011-07-17 14:25:15 +02:00
schneider 13637cafb9 vcard: moved to new rf interface 2011-07-17 12:46:33 +02:00
Stefan `Sec` Zehl 42b6fa7a6b Whoops stupid decryption error %-) 2011-07-17 00:59:05 +02:00
Stefan `Sec` Zehl 2ee9846d1c Schneider will probably hate me, but change back to require packet buffer to include space for the crc16. 2011-07-17 00:50:54 +02:00
Stefan `Sec` Zehl 2ee12e413e Add config_set config_get to reconfiger MACs and Channel 2011-07-16 22:02:33 +02:00
Stefan `Sec` Zehl 6c0887c332 Merge branch 'master' of github.com:r0ket/r0ket 2011-07-16 21:49:47 +02:00
Stefan `Sec` Zehl afd01eada1 Revamp receive function. It now checks everything and returns only
valid packets or 0 (timeout)
2011-07-16 20:25:15 +02:00
schneider 588068f8dd Merge branch 'master' of github.com:r0ket/r0ket 2011-07-16 20:18:12 +02:00
schneider c75b52238c vcard: first working things 2011-07-16 20:17:46 +02:00
Stefan `Sec` Zehl 2a62c13c7e Also check crc on receive now 2011-07-16 19:55:41 +02:00
Stefan `Sec` Zehl 64ee2abbd7 Skip crc on receive 2011-07-16 19:43:23 +02:00
schneider 4d89ccf805 first steps for vcard 2011-07-16 19:12:35 +02:00
schneider b3e4323a37 filetransfer: better mac handling 2011-07-16 03:38:44 +02:00
schneider 3cc27add50 added xxtea encrypted file transfer 2011-07-14 23:40:03 +02:00
schneider 4b36410c09 added xxtea encrypted packet handling 2011-07-14 02:42:39 +02:00
Stefan `Sec` Zehl 5f80216674 Add a few utility functions. 2011-07-14 01:35:56 +02:00
schneider b8bc4e837a sending works 2011-07-14 00:13:16 +02:00
schneider 59bb6ba046 added simple block transfer code 2011-07-13 23:03:40 +02:00
schneider 8e07d95657 rf: CE low on startup 2011-07-10 02:40:56 +02:00
Stefan `Sec` Zehl 8987b5c15c Move crc handling to send function. Also: change chip-crc to openbeacon compatible values 2011-07-10 02:19:10 +02:00
schneider 1e7e82b2c5 nrf: use single byte crc 2011-07-10 02:07:50 +02:00
Stefan `Sec` Zehl 51286999ea Sending works! 2011-07-09 22:49:24 +02:00
Stefan `Sec` Zehl f941dd5451 Optimize Makefiles (add auto-dependencies),
and convert basic/ into a lib like the other subdirs
2011-07-09 20:17:00 +02:00
Stefan `Sec` Zehl 0abca10597 Fix receive so that it returns as soon as a packet arrives. 2011-07-09 14:51:47 +02:00
Stefan `Sec` Zehl bd4eb20d5e 1st attempt at sending a packet 2011-07-08 00:39:51 +02:00
Stefan `Sec` Zehl fc7b630902 Fix code, now that we have sspSendReceive 2011-07-08 00:06:53 +02:00
schneider a534cb9215 modified nrf code to use sspSendReceive 2011-07-06 09:59:08 +02:00
Stefan `Sec` Zehl f1c6b7c55c hook funk up to build. Add testing app, try to implement receiving 2011-07-05 11:11:08 +02:00
Stefan `Sec` Zehl a03f202e7c First attempt at nrf support code 2011-07-05 02:33:36 +02:00