From cc211777995ed2f559c3527a164de0c64ae052f0 Mon Sep 17 00:00:00 2001 From: Fred Larsen Date: Tue, 10 Nov 2020 22:07:13 +0100 Subject: [PATCH 1/2] Added dumps for long preamble and noise spikes for PJON-PJDL --- ...jdl-long-preamble-and-ignored-noise-spikes.sr | Bin 0 -> 2674 bytes pjon/pjdl/pjon-pjdl-long-preamble.sr | Bin 0 -> 609 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 pjon/pjdl/pjon-pjdl-long-preamble-and-ignored-noise-spikes.sr create mode 100644 pjon/pjdl/pjon-pjdl-long-preamble.sr diff --git a/pjon/pjdl/pjon-pjdl-long-preamble-and-ignored-noise-spikes.sr b/pjon/pjdl/pjon-pjdl-long-preamble-and-ignored-noise-spikes.sr new file mode 100644 index 0000000000000000000000000000000000000000..9a985270af3220ee62893586b57342bf3f6fc2b2 GIT binary patch literal 2674 zcmZ`*3s6&68a_8S36B7xmW@KGalBE45`@a&gxPJdTlErfVobz}5m=-RLV%?KTv1F= z>TX@By^zWbV|&$ri7tp!2sPmmn62#KjGGNl6QQ`RJ46N98LB&4aQ~Yq?sleuJGm$4 z@xQ+BJHJedvjY+H;aonnE4XJQ9D{e}@q?#4uk_>m;-Ul@ta<~nkiU1;Gih(kQJDP< z9)EZ=dD@(VIoh1qTh~MS1)<2X&{MsJ#x5yOx!<(@hm(FPrkgtL&sLwR>c06+Z_=}~ z9|o>e{9D*Pe7h<2Q?<3{9hY>dOWd=culxNy)tfQN`b&2${a4vH&vtFmTxi;sa-aIJ zRb6SCzpdvb-u(JV$iNzz@v#Jd_YVUD!Ir3&!M?-Q%l_ZPg+FiR+ydA33jgpzQkV6%{3@L@4s)9`mKRkO! z;Hkmv4;7r51`E%GlSe*BbN`g5NY?F`sF{_oMs{IoUG{*28+BsFCDKHqyRlZXJS`eW zN$C}sU3jta-~ge__?VQBVZ|(G&8`5j_c+P!{>u0~ICwqjJk8eeTLNA28opKXpf$lU zicK2>S-Obr8NsrZGZ;+~6U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3$0d`eQS zg02KcIT&$4cK5kf0c|iw;L5cmHCc(eeo74Ws@}06ySv_4dF>7a(4iV{ZNVL6*k8MH zGc78+VK)eVJsYG>`#7-?5W^@=8KWU>xo(bD4>fBmLt?YOtx_(n?<>d3XbSnnXv=-h zFd!6!&si{-P8d>Fs~>_dq9AQGP@xw)usEECtm$x*#G~TfP%p0c%6VC@m6l?r9ylGu zfE*J4j8P?qO=8rdNZ;E%!y05XKUBB#ir`TLF|pa+2-egwU@Z`J9rc8;#E>d+>GwPG zWSo6slz6F;Z2+~HEJj@muOrX=0wVAG-^fqa+!4{dK@`ORbI-`h$U35X)zr7y50RGA z=Fok{S(fXn5Gf4C%4J~|6}lol&wWXmTTKbbDivZ{gSIYPHOxVx2p@d)sUU{HgQ{Fd zItok!e#E0V1;o5a4XdV^j4MY@3U{xjd2mm@B*d(8>qe6ebsaZ9LJB1ZYZAZ(Tvgq{ z)}R~6+M4|3^EDpTzj)94d#=Sj;yu3^o}Sgvx=EGuY85QLeK98O%4u zm;;D&Q%e$45=#;qSgC`2~!NL)&l5?E1m#+pfKLQa1-nMtj}fV>|Yn z|C*4-B^>fmb?=pPOTD@>cI`91<$ZaN)xH?d_C~$q!W`^=sV>Df7Luc6*2Fb{iKdjI!CggN;R_hfb{{kM=Ga{5=2!_-es?_ zyy>t(aMF{#3=I2(_V5%;QuUm)r<3u1Fwp2pf4Ufch&oQXE&bek8snRFtc-6K^Rieg zdQN)6%ezlN#hm9s-R9jEyC<#L)p~o!+P!`ZtKaJ}tXX_VKcN|D4A20#>Hu#>CVOVw zQ3Y{31H-mP5DOY{5KXva4xvd6$b`isx-Rt4MCdvJWWvKXz?+o~B*hGbi-7b>P%2^o E0H8U>ivR!s literal 0 HcmV?d00001 From 9ec64baefe29ac465a1c8dda27836f2fa8051d71 Mon Sep 17 00:00:00 2001 From: Fred Larsen Date: Tue, 10 Nov 2020 22:07:49 +0100 Subject: [PATCH 2/2] Added dumps for ModuleInterface-PJON-PJDL --- moduleinterface/README | 19 ++++++++++++++++++ ...-pjon-pjdl-not-a-moduleinterface-packet.sr | Bin 0 -> 576 bytes ...up-contract-exchange-plus-value-packets.sr | Bin 0 -> 21458 bytes 3 files changed, 19 insertions(+) create mode 100644 moduleinterface/README create mode 100644 moduleinterface/pjon-pjdl/moduleinterface-pjon-pjdl-not-a-moduleinterface-packet.sr create mode 100644 moduleinterface/pjon-pjdl/moduleinterface-pjon-pjdl-startup-contract-exchange-plus-value-packets.sr diff --git a/moduleinterface/README b/moduleinterface/README new file mode 100644 index 0000000..a4932e5 --- /dev/null +++ b/moduleinterface/README @@ -0,0 +1,19 @@ +------------------------------------------------------------------------------- +ModuleInterface protocol stacked on top of the PJON protocol. +------------------------------------------------------------------------------- + +The ModuleInterface protocol allows for easy programming of IoT modules with +automatic synchronization of settings, inputs and outputs to/from a master, +including http and mqtt connectors for easy interoperability and cooperation +with other automation systems. +It is stacked on top of the PJON protocol stack. + +This is a collection of example ModuleInterface communication using the PJON +strategy PJDL. + +ModuleInterface project: https://www.github.com/fredilarsen/moduleinterface/ +PJON project home page: https://www.pjon.org/ + +PJON protocol and PJDL link layer specs: +https://www.pjon.org/PJON-protocol-specification-v3.2.php +https://www.pjon.org/PJDL-specification-v4.1.php diff --git a/moduleinterface/pjon-pjdl/moduleinterface-pjon-pjdl-not-a-moduleinterface-packet.sr b/moduleinterface/pjon-pjdl/moduleinterface-pjon-pjdl-not-a-moduleinterface-packet.sr new file mode 100644 index 0000000000000000000000000000000000000000..e805f0568cd59cba30049ef067f51c8eb28e21cc GIT binary patch literal 576 zcmWIWW@h1H0D&KCvI2ScU6o=4vO$;~h|5xoiZk=`i~@kFL>QPDIKZlYdGFV*0m}9R zF$WOmrj{h8B$g!Vp5DlJNI`(%!ry&O@(UOjhqm9A+4Y0fw_SVhq;3wDjP|;{$9C*D z|1}|vOE~1C>fS5omU?w%?Am91%lq;kt9>!z4TTS5Wwfmu7vI@-Xf?~R341JZ7cO;k zd^#y@T}JhaFXtM$O^6yv8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