-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for rest of the database API (non-RT) #211
Comments
From @jashnani's research: In C API, it looks like ‘nxdbCloseDatabase’ uses ‘nxDatabaseRef_t’ type. This type is used by other database objects as well (i.e. Cluster, Frame, PDU, etc.). This makes it ambiguous whether you need to call In checking further, the object references are owned by the |
From @jashnani's research: nxdbOpenDatabase can take either an alias or a filepath. We've confirmed that you can open a database file that has not had |
A basic outline of database objects and their properties was added in #52. This includes
This lacks
|
Things that are still missing
|
|
I suggest starting out with these examples for the database API:
|
Add all DB annotations and docstrings. Many imports moved into methods to avoid circular imports. Overloaded Database constructor's path param to allow construction from a ref (for the Cluster.database property). Fixes ni#48 Fixes ni#209 Fixes some of ni#211 (annotations and docs) BREAKING CHANGE: Renamed: * constants.FrmCanTiming -> constants.CanFrameTiming * constants.SigByteOrdr -> constants.SigByteOrder * constants.FrmLinChecksum -> constants.LinFrameChecksum * Cluster.database_ref -> Cluster.database * Cluster.pd_us_reqd -> Cluster.pdus_required * Cluster.sig_refs -> Cluster.signals * Ecu.clst_ref -> Ecu.cluster * Ecu.rx_frm_refs -> Ecu.frames_received * Ecu.tx_frm_refs -> Ecu.frames_transmitted * Ecu.linp_2min -> Ecu.lin_p2_min * Ecu.lins_tmin -> Ecu.lin_st_min * Frame.cluster_ref -> Frame.cluster * Frame.sig_refs -> Frame.signals * Frame.can_ext_id -> Frame.can_extended_id * Frame.can_tx_time -> Frame.can_transmit_time * Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_signal * Frame.pdu_refs -> Frame.pdus * LinSched.clst_ref -> LinSched.cluster * LinSchedEntry.collision_res_sched -> LinSchedEntry.collision_resolving_schedule * LinSchedEntry.nc_ff_data_bytes -> LinSchedEntry.node_config_free_format_data_bytes * LinSchedEntry.sched -> LinSchedEntry.schedule * Pdu.cluster_ref -> Pdu.cluster * Pdu.frm_refs -> Pdu.frames * Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_signal * Pdu.mux_static_sig_refs -> Pdu.mux_static_signals * Signal.byte_ordr -> Signal.byte_order * Signal.default -> Signal.default_value * Signal.frame_ref -> Signal.frame * Signal.pdu_ref -> Signal.pdu * Signal.frame_scale_fac -> Signal.scale_factor * Signal.frame_off -> Signal.scale_offset * Signal.mux_subfrm_ref -> Signal.mux_subframe * SubFrame.dyn_signals -> SubFrame.dynamic_signals * SubFrame.frm_ref -> SubFrame.frame * SubFrame.pdu_ref -> SubFrame.pdu Changed types: * Frame.application_protocol is now constants.AppProtocol * Frame.can_timing_type type is now constants.CanFrameTiming * Frame.lin_checksum type is now constants.LinFrameChecksum * All property renames that dropped "ref" now get/set the db object Removed: * IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
Add all DB annotations and docstrings. Many imports moved into methods to avoid circular imports. Overloaded Database constructor's path param to allow construction from a ref (for the Cluster.database property). Fixes ni#48 Fixes ni#209 Fixes some of ni#211 (annotations and docs) BREAKING CHANGE: Renamed: * constants.FrmCanTiming -> constants.CanFrameTiming * constants.SigByteOrdr -> constants.SigByteOrder * constants.FrmLinChecksum -> constants.LinFrameChecksum * Cluster.database_ref -> Cluster.database * Cluster.pd_us_reqd -> Cluster.pdus_required * Cluster.sig_refs -> Cluster.signals * Ecu.clst_ref -> Ecu.cluster * Ecu.rx_frm_refs -> Ecu.frames_received * Ecu.tx_frm_refs -> Ecu.frames_transmitted * Ecu.linp_2min -> Ecu.lin_p2_min * Ecu.lins_tmin -> Ecu.lin_st_min * Frame.cluster_ref -> Frame.cluster * Frame.sig_refs -> Frame.signals * Frame.can_ext_id -> Frame.can_extended_id * Frame.can_tx_time -> Frame.can_transmit_time * Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_signal * Frame.pdu_refs -> Frame.pdus * LinSched.clst_ref -> LinSched.cluster * LinSchedEntry.collision_res_sched -> LinSchedEntry.collision_resolving_schedule * LinSchedEntry.nc_ff_data_bytes -> LinSchedEntry.node_config_free_format_data_bytes * LinSchedEntry.sched -> LinSchedEntry.schedule * Pdu.cluster_ref -> Pdu.cluster * Pdu.frm_refs -> Pdu.frames * Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_signal * Pdu.mux_static_sig_refs -> Pdu.mux_static_signals * Signal.byte_ordr -> Signal.byte_order * Signal.default -> Signal.default_value * Signal.frame_ref -> Signal.frame * Signal.pdu_ref -> Signal.pdu * Signal.frame_scale_fac -> Signal.scale_factor * Signal.frame_off -> Signal.scale_offset * Signal.mux_subfrm_ref -> Signal.mux_subframe * SubFrame.dyn_signals -> SubFrame.dynamic_signals * SubFrame.frm_ref -> SubFrame.frame * SubFrame.pdu_ref -> SubFrame.pdu Changed types: * Frame.application_protocol is now constants.AppProtocol * Frame.can_timing_type type is now constants.CanFrameTiming * Frame.lin_checksum type is now constants.LinFrameChecksum * All property renames that dropped "ref" now get/set the db object Removed: * IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
Add all DB annotations and docstrings. Many imports moved into methods to avoid circular imports. Overloaded Database constructor's path param to allow construction from a ref (for the Cluster.database property). Fixes ni#48 Fixes ni#209 Fixes some of ni#211 (annotations and docs) BREAKING CHANGE: Renamed: * constants.FrmCanTiming -> constants.CanFrameTiming * constants.SigByteOrdr -> constants.SigByteOrder * constants.FrmLinChecksum -> constants.LinFrameChecksum * Cluster.database_ref -> Cluster.database * Cluster.pd_us_reqd -> Cluster.pdus_required * Cluster.sig_refs -> Cluster.signals * Ecu.clst_ref -> Ecu.cluster * Ecu.rx_frm_refs -> Ecu.frames_received * Ecu.tx_frm_refs -> Ecu.frames_transmitted * Ecu.linp_2min -> Ecu.lin_p2_min * Ecu.lins_tmin -> Ecu.lin_st_min * Frame.cluster_ref -> Frame.cluster * Frame.sig_refs -> Frame.signals * Frame.can_ext_id -> Frame.can_extended_id * Frame.can_tx_time -> Frame.can_transmit_time * Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_signal * Frame.pdu_refs -> Frame.pdus * LinSched.clst_ref -> LinSched.cluster * LinSchedEntry.collision_res_sched -> LinSchedEntry.collision_resolving_schedule * LinSchedEntry.nc_ff_data_bytes -> LinSchedEntry.node_config_free_format_data_bytes * LinSchedEntry.sched -> LinSchedEntry.schedule * Pdu.cluster_ref -> Pdu.cluster * Pdu.frm_refs -> Pdu.frames * Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_signal * Pdu.mux_static_sig_refs -> Pdu.mux_static_signals * Signal.byte_ordr -> Signal.byte_order * Signal.default -> Signal.default_value * Signal.frame_ref -> Signal.frame * Signal.pdu_ref -> Signal.pdu * Signal.frame_scale_fac -> Signal.scale_factor * Signal.frame_off -> Signal.scale_offset * Signal.mux_subfrm_ref -> Signal.mux_subframe * SubFrame.dyn_signals -> SubFrame.dynamic_signals * SubFrame.frm_ref -> SubFrame.frame * SubFrame.pdu_ref -> SubFrame.pdu Changed types: * Frame.application_protocol is now constants.AppProtocol * Frame.can_timing_type type is now constants.CanFrameTiming * Frame.lin_checksum type is now constants.LinFrameChecksum * All property renames that dropped "ref" now get/set the db object Removed: * IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
Add all DB annotations and docstrings. Many imports moved into methods to avoid circular imports. Fixes ni#48 Fixes ni#209 Fixes some of ni#211 (annotations and docs) BREAKING CHANGE: Renamed: * Cluster.database_ref -> Cluster.database * Cluster.pd_us_reqd -> Cluster.pdus_reqd * Cluster.sig_refs -> Cluster.sigs * Ecu.clst_ref -> Ecu.clst * Ecu.rx_frm_refs -> Ecu.rx_frms * Ecu.tx_frm_refs -> Ecu.tx_frms * Ecu.linp_2min -> Ecu.lin_p2_min * Ecu.lins_tmin -> Ecu.lin_st_min * Frame.cluster_ref -> Frame.cluster * Frame.sig_refs -> Frame.sigs * Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig_ref * Frame.pdu_refs -> Frame.pdus * LinSched.clst_ref -> LinSched.clst * Pdu.cluster_ref -> Pdu.cluster * Pdu.frm_refs -> Pdu.frms * Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig * Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs * Signal.frame_ref -> Signal.frame * Signal.pdu_ref -> Signal.pdu * Signal.mux_subfrm_ref -> Signal.mux_subfrm * SubFrame.frm_ref -> SubFrame.frm * SubFrame.pdu_ref -> SubFrame.pdu Changed types: * Frame.application_protocol is now constants.AppProtocol * Frame.can_timing_type type is now constants.FrameCanTiming * Frame.lin_checksum type is now constants.FrameLinChecksum * All property renames that dropped "ref" now get/set the db object except for Cluster.database (opened issue ni#244) Removed: * IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
Add all DB annotations and docstrings. Many imports moved into methods to avoid circular imports. Fixes ni#48 Fixes ni#209 Fixes some of ni#211 (annotations and docs) BREAKING CHANGE: Renamed: * Cluster.database_ref -> Cluster.database * Cluster.pd_us_reqd -> Cluster.pdus_reqd * Cluster.sig_refs -> Cluster.sigs * Ecu.clst_ref -> Ecu.clst * Ecu.rx_frm_refs -> Ecu.rx_frms * Ecu.tx_frm_refs -> Ecu.tx_frms * Ecu.linp_2min -> Ecu.lin_p2_min * Ecu.lins_tmin -> Ecu.lin_st_min * Frame.cluster_ref -> Frame.cluster * Frame.sig_refs -> Frame.sigs * Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig_ref * Frame.pdu_refs -> Frame.pdus * LinSched.clst_ref -> LinSched.clst * Pdu.cluster_ref -> Pdu.cluster * Pdu.frm_refs -> Pdu.frms * Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig * Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs * Signal.frame_ref -> Signal.frame * Signal.pdu_ref -> Signal.pdu * Signal.mux_subfrm_ref -> Signal.mux_subfrm * SubFrame.frm_ref -> SubFrame.frm * SubFrame.pdu_ref -> SubFrame.pdu Changed types: * Frame.application_protocol is now constants.AppProtocol * Frame.can_timing_type type is now constants.FrameCanTiming * Frame.lin_checksum type is now constants.FrameLinChecksum * All property renames that dropped "ref" now get/set the db object except for Cluster.database (opened issue ni#244) Removed: * IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
Add all DB annotations and docstrings. Many imports moved into methods to avoid circular imports. Fixes ni#48 Fixes ni#209 Fixes some of ni#211 (annotations and docs) BREAKING CHANGE: Renamed: * Cluster.database_ref -> Cluster.database * Cluster.pd_us_reqd -> Cluster.pdus_reqd * Cluster.sig_refs -> Cluster.sigs * Ecu.clst_ref -> Ecu.clst * Ecu.rx_frm_refs -> Ecu.rx_frms * Ecu.tx_frm_refs -> Ecu.tx_frms * Ecu.linp_2min -> Ecu.lin_p2_min * Ecu.lins_tmin -> Ecu.lin_st_min * Frame.cluster_ref -> Frame.cluster * Frame.sig_refs -> Frame.sigs * Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig * Frame.pdu_refs -> Frame.pdus * LinSched.clst_ref -> LinSched.clst * Pdu.cluster_ref -> Pdu.cluster * Pdu.frm_refs -> Pdu.frms * Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig * Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs * Signal.frame_ref -> Signal.frame * Signal.pdu_ref -> Signal.pdu * Signal.mux_subfrm_ref -> Signal.mux_subfrm * SubFrame.frm_ref -> SubFrame.frm * SubFrame.pdu_ref -> SubFrame.pdu Changed types: * Frame.application_protocol is now constants.AppProtocol * Frame.can_timing_type type is now constants.FrameCanTiming * Frame.lin_checksum type is now constants.FrameLinChecksum * All property renames that dropped "ref" now get/set the db object except for Cluster.database (opened issue ni#244) Removed: * IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
Add all DB annotations and docstrings. Many imports moved into methods to avoid circular imports. Fixes ni#48 Fixes ni#209 Fixes some of ni#211 (annotations and docs) BREAKING CHANGE: Renamed: * Cluster.database_ref -> Cluster.database * Cluster.pd_us_reqd -> Cluster.pdus_reqd * Cluster.sig_refs -> Cluster.sigs * Ecu.clst_ref -> Ecu.clst * Ecu.rx_frm_refs -> Ecu.rx_frms * Ecu.tx_frm_refs -> Ecu.tx_frms * Ecu.linp_2min -> Ecu.lin_p2_min * Ecu.lins_tmin -> Ecu.lin_st_min * Frame.cluster_ref -> Frame.cluster * Frame.sig_refs -> Frame.sigs * Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig * Frame.pdu_refs -> Frame.pdus * LinSched.clst_ref -> LinSched.clst * Pdu.cluster_ref -> Pdu.cluster * Pdu.frm_refs -> Pdu.frms * Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig * Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs * Signal.frame_ref -> Signal.frame * Signal.pdu_ref -> Signal.pdu * Signal.mux_subfrm_ref -> Signal.mux_subfrm * SubFrame.frm_ref -> SubFrame.frm * SubFrame.pdu_ref -> SubFrame.pdu Changed types: * Frame.application_protocol is now constants.AppProtocol * Frame.can_timing_type type is now constants.FrameCanTiming * Frame.lin_checksum type is now constants.FrameLinChecksum * All property renames that dropped "ref" now get/set the db object except for Cluster.database (opened issue ni#244) Removed: * IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
Add all DB annotations and docstrings. Many imports moved into methods to avoid circular imports. Fixes ni#48 Fixes ni#209 Fixes some of ni#211 (annotations and docs) BREAKING CHANGE: Renamed: * Cluster.database_ref -> Cluster.database * Cluster.pd_us_reqd -> Cluster.pdus_reqd * Cluster.sig_refs -> Cluster.sigs * Ecu.clst_ref -> Ecu.clst * Ecu.rx_frm_refs -> Ecu.rx_frms * Ecu.tx_frm_refs -> Ecu.tx_frms * Ecu.linp_2min -> Ecu.lin_p2_min * Ecu.lins_tmin -> Ecu.lin_st_min * Frame.cluster_ref -> Frame.cluster * Frame.sig_refs -> Frame.sigs * Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig * Frame.pdu_refs -> Frame.pdus * LinSched.clst_ref -> LinSched.clst * Pdu.cluster_ref -> Pdu.cluster * Pdu.frm_refs -> Pdu.frms * Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig * Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs * Signal.frame_ref -> Signal.frame * Signal.pdu_ref -> Signal.pdu * Signal.mux_subfrm_ref -> Signal.mux_subfrm * SubFrame.frm_ref -> SubFrame.frm * SubFrame.pdu_ref -> SubFrame.pdu Changed types: * Frame.application_protocol is now constants.AppProtocol * Frame.can_timing_type type is now constants.FrmCanTiming * Frame.lin_checksum type is now constants.FrmLinChecksum * All property renames that dropped "ref" now get/set the db object except for Cluster.database (opened issue ni#244) Removed: * IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
Add all DB annotations and docstrings. Many imports moved into methods to avoid circular imports. Fixes ni#48 Fixes ni#209 Fixes some of ni#211 (annotations and docs) BREAKING CHANGE: Renamed: * Cluster.pd_us_reqd -> Cluster.pdus_reqd * Cluster.sig_refs -> Cluster.sigs * Ecu.clst_ref -> Ecu.clst * Ecu.rx_frm_refs -> Ecu.rx_frms * Ecu.tx_frm_refs -> Ecu.tx_frms * Ecu.linp_2min -> Ecu.lin_p2_min * Ecu.lins_tmin -> Ecu.lin_st_min * Frame.cluster_ref -> Frame.cluster * Frame.sig_refs -> Frame.sigs * Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig * Frame.pdu_refs -> Frame.pdus * LinSched.clst_ref -> LinSched.clst * Pdu.cluster_ref -> Pdu.cluster * Pdu.frm_refs -> Pdu.frms * Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig * Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs * Signal.frame_ref -> Signal.frame * Signal.pdu_ref -> Signal.pdu * Signal.mux_subfrm_ref -> Signal.mux_subfrm * SubFrame.frm_ref -> SubFrame.frm * SubFrame.pdu_ref -> SubFrame.pdu Changed types: * Frame.application_protocol is now constants.AppProtocol * Frame.can_timing_type type is now constants.FrmCanTiming * Frame.lin_checksum type is now constants.FrmLinChecksum * All property renames that dropped "ref" now get/set the db object except for Cluster.database (opened issue ni#244) Removed: * IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
Add all DB annotations and docstrings. Many imports moved into methods to avoid circular imports. Fixes ni#48 Fixes ni#209 Fixes some of ni#211 (annotations and docs) BREAKING CHANGE: Renamed: * Cluster.pd_us_reqd -> Cluster.pdus_reqd * Cluster.sig_refs -> Cluster.sigs * Ecu.clst_ref -> Ecu.clst * Ecu.rx_frm_refs -> Ecu.rx_frms * Ecu.tx_frm_refs -> Ecu.tx_frms * Ecu.linp_2min -> Ecu.lin_p2_min * Ecu.lins_tmin -> Ecu.lin_st_min * Frame.cluster_ref -> Frame.cluster * Frame.sig_refs -> Frame.sigs * Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig * Frame.pdu_refs -> Frame.pdus * LinSched.clst_ref -> LinSched.clst * Pdu.cluster_ref -> Pdu.cluster * Pdu.frm_refs -> Pdu.frms * Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig * Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs * Signal.frame_ref -> Signal.frame * Signal.pdu_ref -> Signal.pdu * Signal.mux_subfrm_ref -> Signal.mux_subfrm * SubFrame.frm_ref -> SubFrame.frm * SubFrame.pdu_ref -> SubFrame.pdu Changed types: * Frame.application_protocol is now constants.AppProtocol * Frame.can_timing_type type is now constants.FrmCanTiming * Frame.lin_checksum type is now constants.FrmLinChecksum * All property renames that dropped "ref" now get/set the db object except for Cluster.database (opened issue ni#244) Removed: * IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
Add all DB annotations and docstrings. Many imports moved into methods to avoid circular imports. Fixes ni#48 Fixes ni#209 Fixes some of ni#211 (annotations and docs) BREAKING CHANGE: Renamed: * Cluster.pd_us_reqd -> Cluster.pdus_reqd * Cluster.sig_refs -> Cluster.sigs * Ecu.clst_ref -> Ecu.clst * Ecu.rx_frm_refs -> Ecu.rx_frms * Ecu.tx_frm_refs -> Ecu.tx_frms * Ecu.linp_2min -> Ecu.lin_p2_min * Ecu.lins_tmin -> Ecu.lin_st_min * Frame.cluster_ref -> Frame.cluster * Frame.sig_refs -> Frame.sigs * Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig * Frame.pdu_refs -> Frame.pdus * LinSched.clst_ref -> LinSched.clst * Pdu.cluster_ref -> Pdu.cluster * Pdu.frm_refs -> Pdu.frms * Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig * Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs * Signal.frame_ref -> Signal.frame * Signal.pdu_ref -> Signal.pdu * Signal.mux_subfrm_ref -> Signal.mux_subfrm * SubFrame.frm_ref -> SubFrame.frm * SubFrame.pdu_ref -> SubFrame.pdu Changed types: * Frame.application_protocol is now constants.AppProtocol * Frame.can_timing_type type is now constants.FrmCanTiming * Frame.lin_checksum type is now constants.FrmLinChecksum * All property renames that dropped "ref" now get/set the db object except for Cluster.database (opened issue ni#244) Removed: * IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
Add all DB annotations and docstrings. Many imports moved into methods to avoid circular imports. Fixes ni#48 Fixes ni#209 Fixes some of ni#211 (annotations and docs) BREAKING CHANGE: Renamed: * Cluster.pd_us_reqd -> Cluster.pdus_reqd * Cluster.sig_refs -> Cluster.sigs * Ecu.clst_ref -> Ecu.clst * Ecu.rx_frm_refs -> Ecu.rx_frms * Ecu.tx_frm_refs -> Ecu.tx_frms * Ecu.linp_2min -> Ecu.lin_p2_min * Ecu.lins_tmin -> Ecu.lin_st_min * Frame.cluster_ref -> Frame.cluster * Frame.sig_refs -> Frame.sigs * Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig * Frame.pdu_refs -> Frame.pdus * LinSched.clst_ref -> LinSched.clst * Pdu.cluster_ref -> Pdu.cluster * Pdu.frm_refs -> Pdu.frms * Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig * Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs * Signal.frame_ref -> Signal.frame * Signal.pdu_ref -> Signal.pdu * Signal.mux_subfrm_ref -> Signal.mux_subfrm * SubFrame.frm_ref -> SubFrame.frm * SubFrame.pdu_ref -> SubFrame.pdu Changed types: * Frame.application_protocol is now constants.AppProtocol * Frame.can_timing_type type is now constants.FrmCanTiming * Frame.lin_checksum type is now constants.FrmLinChecksum * All property renames that dropped "ref" now get/set the db object except for Cluster.database (opened issue ni#244) Removed: * IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
Add all DB annotations and docstrings. Many imports moved into methods to avoid circular imports. Fixes ni#48 Fixes ni#209 Fixes some of ni#211 (annotations and docs) BREAKING CHANGE: Renamed: * Cluster.pd_us_reqd -> Cluster.pdus_reqd * Cluster.sig_refs -> Cluster.sigs * Ecu.clst_ref -> Ecu.clst * Ecu.rx_frm_refs -> Ecu.rx_frms * Ecu.tx_frm_refs -> Ecu.tx_frms * Ecu.linp_2min -> Ecu.lin_p2_min * Ecu.lins_tmin -> Ecu.lin_st_min * Frame.cluster_ref -> Frame.cluster * Frame.sig_refs -> Frame.sigs * Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig * Frame.pdu_refs -> Frame.pdus * LinSched.clst_ref -> LinSched.clst * Pdu.cluster_ref -> Pdu.cluster * Pdu.frm_refs -> Pdu.frms * Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig * Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs * Signal.frame_ref -> Signal.frame * Signal.pdu_ref -> Signal.pdu * Signal.mux_subfrm_ref -> Signal.mux_subfrm * SubFrame.frm_ref -> SubFrame.frm * SubFrame.pdu_ref -> SubFrame.pdu Changed types: * Frame.application_protocol is now constants.AppProtocol * Frame.can_timing_type type is now constants.FrmCanTiming * Frame.lin_checksum type is now constants.FrmLinChecksum * All property renames that dropped "ref" now get/set the db object except for Cluster.database (opened issue ni#244) Removed: * IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
Implement the Database file API
nxCreateSession
know which database is:inmemory:
? Is it one opened with "alias" being:inmemory:
? If so, should we default open with:inmemory:
?Ecu.lin_protocol_ver
should return an enum #54Ecu.lin_protocol_ver
doesn't return an enumFrame.pdu_*
properties should be considered for a tuple #53Frame.pdu_*
should be a tupleCluster.pd_us_reqd
has wrong word-splitting #209 PDU word splittingParts to include:
Cluster.pd_us_reqd
has wrong word-splitting #209For RT database support, see #202.
The text was updated successfully, but these errors were encountered: