Commit Graph

60 Commits

Author SHA1 Message Date
xdrm-brackets c5e59ccbd8 finalisation emulation ctrlTerm 2017-05-02 18:32:22 +02:00
xdrm-brackets a31c97942b [fix] request switch management (plane thread let ctrlTerm use common socket) 2017-04-29 17:31:38 +02:00
xdrm-brackets 061893b35d [CREATED] ctrlTerm emulation in C 2017-04-29 17:09:47 +02:00
xdrm-brackets 4af2f8180c [Fix] ctrlTerm doesn't get DATA when flag TERMREQ_FBK absent 2017-04-29 17:09:31 +02:00
xdrm-brackets e4b9d5daa6 [FIX] ctrlTerm ok (ctrlTerm<->sgca<->plane) 2017-04-29 17:04:07 +02:00
xdrm-brackets a8a44d9941 [DONE] Gestion envoi de données pour ctrlTerm 2017-04-28 16:37:29 +02:00
xdrm-brackets cc78418a53 Now viewTerm has an "infinite" buffer and delegates the data/buffer creation from context to local function (next step: use it also for ctrlTerm) 2017-04-28 16:32:20 +02:00
xdrm-brackets e6c2bbcfa6 gitignore 2017-04-28 15:57:48 +02:00
xdrm-brackets 1a98172fca [done] ctrlTerm plane update procedure (v0.1) to be tested by SdS 2017-04-28 14:54:02 +02:00
xdrm-brackets e8e65f81fb makefile `make clean` fix 2017-04-26 23:48:15 +02:00
SeekDaSky face7b0f04 Fix suppression Avion 2017-04-26 23:40:45 +02:00
xdrm-brackets a356548965 minfix 2017-04-26 23:35:06 +02:00
xdrm-brackets e2fe1a7155 [done] Managing ONLINE/OFFLINE status for planes deconnected 2017-04-26 23:23:28 +02:00
xdrm-brackets b96e89bddb Merge branch 'master' of https://git.xdrm.io/xdrm-brackets/sysdis-project 2017-04-26 23:06:18 +02:00
SeekDaSky 3071b9debe ViewTerm V1.1 2017-04-26 23:04:36 +02:00
xdrm-brackets 19a513f207 minmod 2017-04-26 23:04:31 +02:00
SeekDaSky 5d2f912738 Merge remote-tracking branch 'origin/master' 2017-04-26 22:56:54 +02:00
xdrm-brackets 9614928bcf [fix] test1 to send port (err with old BIND_HEADER length) 2017-04-26 22:56:29 +02:00
SeekDaSky 0dbd88c1f8 ViewTerm v1 2017-04-26 20:12:43 +02:00
xdrm-brackets 79a1258a53 [BIG UPDATE] Dynamic local ip 2017-04-26 14:25:05 +02:00
xdrm-brackets 48f2b33728 fix 2017-04-26 13:13:53 +02:00
xdrm-brackets 3c241a2a95 [fixed] indianness sgca (plane viewTerm) 2017-04-26 13:10:35 +02:00
xdrm-brackets 80f0aa95f6 Plane indianness + Plane timeout misplaced 2017-04-25 16:34:04 +02:00
xdrm-brackets 387e55c092 Gestion viewTerm fonctionnel [todo] gestion envoi en plusieurs fois 2017-04-25 15:00:25 +02:00
xdrm-brackets a20cc18377 Refactor flags bind_header 2017-04-25 11:54:15 +02:00
xdrm-brackets b245e6f623 [fix] Fixed conflicts between TCP server sockets (at thread launch each have its own socket, then it becomes the same, reference err) -> so memcpy the socket at launch) 2017-04-20 11:49:11 +02:00
xdrm-brackets 095706b24f [done] plane part to manage received IP/PORT from multicast group and connect to TCP socket.
[todo] still this f**king problem with thread conflicts when multiple planes connected!!!
2017-04-18 20:14:50 +02:00
xdrm-brackets d5f883add1 [updated] central-manager : 1. removed middleware for planes 2. instead thread that publishes over multicast UDP to planes every N seconds. 3. Added udp/client to central-manager
[todo] 1. Update `bind_header` flags to know if plane/vterm/cterm with combination + must ask for TCP/UDP (implicit) no need to say it
2017-04-18 20:06:14 +02:00
xdrm-brackets 8b0e2c05bf double `htons` replaced by `ntohs` for diff-indian compilers 2017-04-18 19:40:36 +02:00
xdrm-brackets d33b7e135a `make clean` works now for plane code 2017-04-18 19:34:10 +02:00
xdrm-brackets edad9a8f8f started multicast for planes 2017-04-18 10:36:32 +02:00
xdrm-brackets 070d0dd19d minmod 2017-04-18 10:21:10 +02:00
SeekDaSky d6ddbce375 Fix port transmission 2017-04-14 01:43:16 +02:00
xdrm-brackets ecb49e1117 Revert "[fix] pour l'incompetence des dev java"
This reverts commit c5b0056f67.
2017-04-13 20:43:45 +02:00
xdrm-brackets e270e47bc1 Merge branch 'master' of https://git.xdrm.io/xdrm-brackets/sysdis-project 2017-04-13 20:02:06 +02:00
xdrm-brackets c5b0056f67 [fix] pour l'incompetence des dev java 2017-04-13 20:01:56 +02:00
SeekDaSky d9556c876f le chie sur celui qui a eu l idee de ne pas gerer les unsigned en java 2017-04-13 19:57:30 +02:00
xdrm-brackets e190ac3008 [done] Gestion partielle réponse avion depuis SGCA [todo] gestion des requêtes d'update [todo] Fix car 2 avions en même temps entrent en collision (le dernier prend le dessus). 2017-04-12 10:32:48 +02:00
xdrm-brackets 791ca5ab09 [done] Gestion com plane 2-sides : envoi des données - [todo] gestion tampon + update avec flags 2017-04-12 09:57:59 +02:00
xdrm-brackets e1e8d56d0c [done] middleware `multicastPlane` FUNC + plane code for connection 2017-04-12 09:30:42 +02:00
xdrm-brackets f1fca736bd Délégation des middlewares [todo] middleware multicast pour avion 2017-04-11 19:12:34 +02:00
xdrm-brackets 63436afc35 Separated code between `main`, `middlewares` which creates a new socket (to do for UDP : copypaste the code from main to middlewares), and `handlers` which have the socket and do the actual management (communications) 2017-04-09 19:33:27 +02:00
xdrm-brackets 02989312d1 added headers 2017-04-09 18:56:11 +02:00
xdrm-brackets 726ab7b4e3 [done] Ajout timeout lors de création sockets + fonction de traitement dynamique pour chaque thread du type "LISTEN_" + debug TCP + fix `make clean` 2017-04-09 18:41:44 +02:00
xdrm-brackets 0c641726a8 [done] Passed all UDP terminal dispatchers to MULTICAST (224.0.0.2:4445 and 224.0.0.3:4446) to remove broadcast needs.[todo]{ udp multicast for plane + plane comm } 2017-04-09 16:06:31 +02:00
xdrm-brackets ab0fea9a14 [plane][done] multicast request (not tested) + init sequence + fetch ip/port by multicast then connect to given TCP (ref #1) 2017-04-08 19:25:44 +02:00
xdrm-brackets 61581e393d [plane] fix *** stack smashing detected *** (because time_t for random) + removed serializer 2017-04-08 18:37:14 +02:00
xdrm-brackets d2afb8f65e fix 2017-04-08 18:30:41 +02:00
xdrm-brackets 23af65d69e Update 2017-04-08 18:20:17 +02:00
xdrm-brackets 0dc72353cd update 2017-04-07 20:25:53 +02:00