Closed Futabay closed 4 years ago
Tested SQLite3 version
$ sqlite3 --version
3.24.0 2018-06-04 14:10:15 95fbac39baaab1c3a84fdfc82ccb7f42398b2e92f18a2a57bce1d4a713cbaapl
Content of packet data created based on ccsds_header.yaml
and used for this test is as follows:
data = bytearray(b'\x02\xE7\x40\x00\x00\x0B\x00\x00\x00\x01\x01\x71\x0C\x41\x00\x01’)
## CCSDS Packet ##
version: 000
type: 0
secondary header flag: 0
apid: 01011100111 #743#
sequence flag: 01
sequence count: 00000000 000000
packet length: 00000000 00001011
time_coars 00000000 00000000 00000000 00000001
time_fine 0000 0001
time_id 01
checkword_indicator 1
zoe 1
packet_type 0001
<spare> 0
element_id 0001
data_packet 1
version_id 0001
format_id 000001
<unknown> 00000000
frame_id 00000001
Precondition:
workon ait
on your working terminalsSet
config.yaml
as follows:Open a terminal, start/create sqlite3 database to the preferred location
On the different terminal, start
ait-server
On another terminal, start python and invoke
db.py.connect()
and.create()
functionsOn SQLite3 terminal , verify that the tables were created.
Ctrl
+C to stopait-server