MCPcopy Create free account

hub / github.com/MidnightBlueLabs/tetra-bluestation / functions

Functions1,532 in github.com/MidnightBlueLabs/tetra-bluestation

↓ 556 callersMethodwrite_bits
Write up to 64 bits, advancing pos. If autoexpand is enabled, will advance end as well and/or realloc if buffer full If disables, panics if exceeds en
crates/tetra-core/src/bitbuffer.rs:354
↓ 488 callersMethodread_field
Similar to read_bits, but returns a ParseError::BufferEnded with the given error_string if not enough bits are available.
crates/tetra-core/src/bitbuffer.rs:200
↓ 96 callersMethodpush_back
(&mut self, message: SapMsg)
crates/tetra-entities/src/messagerouter.rs:27
↓ 93 callersMethodpush
(&mut self, acelp_data: Vec<u8>)
crates/tetra-entities/src/net_brew/components/jitter_buffer.rs:56
↓ 92 callersFunctionparse_type3_generic
Parse type3 field into a placeholder struct, pending implementation. Checks whether a given type3 field identifier is present. If not, returns None wi
crates/tetra-core/src/typed_pdu_fields.rs:200
↓ 92 callersFunctionwrite_type3_generic
Write an optional Type-3 element using a `to_bitbuf` function.
crates/tetra-core/src/typed_pdu_fields.rs:367
↓ 64 callersFunctionwrite_type2_generic
Write one Type-2 element. If `value` is `Some(v)`, writes P-bit=1 then `len` bits of `v`. If `None`, writes P-bit=0.
crates/tetra-core/src/typed_pdu_fields.rs:114
↓ 63 callersFunctionparse_type2_generic
( obit: bool, buffer: &mut BitBuffer, num_bits: usize, field_name: &'static st
crates/tetra-core/src/typed_pdu_fields.rs:60
↓ 60 callersMethodas_ref
(&self)
crates/tetra-config/src/bluestation/config.rs:30
↓ 58 callersMethodseek
Seek to a specific position in the file
crates/tetra-entities/src/phy/components/phy_io_file.rs:151
↓ 56 callersFunctionread_obit
Read the o-bit between type1 and type2/type3 elements
crates/tetra-core/src/typed_pdu_fields.rs:23
↓ 55 callersMethodget_len_remaining
Number of bits left in the window (bits), from pos to end.
crates/tetra-core/src/bitbuffer.rs:468
↓ 53 callersFunctionsetup_logging_verbose
Sets up logging with maximum verbosity (trace level) Mainly for unit tests
crates/tetra-core/src/debug.rs:225
↓ 53 callersFunctionwrite_mbit
Write the m-bit before a type3 or type4 element, and trailing the message
crates/tetra-core/src/typed_pdu_fields.rs:48
↓ 46 callersFunctionwrite_obit
Write the o-bit between type1 and type2/type3 elements
crates/tetra-core/src/typed_pdu_fields.rs:28
↓ 44 callersMethodget_len
Active window length (bits), from start to end
crates/tetra-core/src/bitbuffer.rs:463
↓ 44 callersMethodto_bitbuf
(&self, buf: &mut BitBuffer)
crates/tetra-pdus/src/llc/pdus/bl_ack.rs:36
↓ 41 callersMethodsend
(&self, command: ControlCommand)
crates/tetra-entities/src/net_control/channel.rs:24
↓ 39 callersMethodinto_raw
Convert this enum back into the raw integer value
crates/tetra-pdus/src/cmce/enums/call_status.rs:29
↓ 34 callersMethodadd_timeslots
Add a number of timeslots to a TdmaTime
crates/tetra-core/src/tdma_time.rs:86
↓ 28 callersMethodconfig
Access immutable config.
crates/tetra-config/src/bluestation/config.rs:161
↓ 28 callersMethodcontains
Checks if the given address falls within any of the ranges. Note that range.end is inclusive, so if an address is exactly equal to range.end, it is co
crates/tetra-core/src/ranges.rs:50
↓ 24 callersMethodget_raw_start
Get absolute value of window start
crates/tetra-core/src/bitbuffer.rs:512
↓ 24 callersMethodsubmit_message
(&mut self, message: SapMsg)
crates/tetra-entities/tests/common/component_test.rs:190
↓ 22 callersMethoddump_sinks
(&mut self)
crates/tetra-entities/tests/common/component_test.rs:198
↓ 21 callersMethodpeek_bits
Peek `num_bits` at the current pos, without advancing. Returns None on overflow or if `num_bits>64`.
crates/tetra-core/src/bitbuffer.rs:165
↓ 21 callersMethodrun_stack
(&mut self, num_ticks: Option<usize>)
crates/tetra-entities/tests/common/component_test.rs:186
↓ 20 callersMethodget_raw_pos
Get absolute current position, disregarding start and end of window
crates/tetra-core/src/bitbuffer.rs:520
↓ 20 callersMethodset_raw_end
Move window end. Ensure new_end >= max(pos, start) and new_end <= capacity
crates/tetra-core/src/bitbuffer.rs:532
↓ 20 callersFunctionwrite_u32_le
Write a little-endian u32 to a byte vec
crates/tetra-entities/src/net_brew/protocol.rs:179
↓ 19 callersMethodpopulate_entities
Automatically add a set of components and sinks to the stack. Depending on the stack mode, the components will be created with the appropriate BS or M
crates/tetra-entities/tests/common/component_test.rs:78
↓ 19 callersMethodread_bits
Read `num_bits` at the current pos, advancing on success.
crates/tetra-core/src/bitbuffer.rs:193
↓ 19 callersMethodset_raw_start
Move window start. Ensure new_start <= min(end, pos)
crates/tetra-core/src/bitbuffer.rs:525
↓ 18 callersMethodcopy_bits
Read `num_bits` from a source bitbuffer, starting at `pos`. Write this data into the current bitbuffer at the current `pos`.
crates/tetra-core/src/bitbuffer.rs:421
↓ 18 callersMethodto_bitarr
Takes slice as parameter for output. Reads slice.len() bits from bitbuf[pos], and writes to output slice. 1 bit per byte.
crates/tetra-core/src/bitbuffer.rs:138
↓ 17 callersMethodseek
Seek `pos` to `offset` (relative to window start).
crates/tetra-core/src/bitbuffer.rs:483
↓ 15 callersMethodinto_raw
Convert this enum back into the raw integer value
crates/tetra-pdus/src/mm/enums/reject_cause.rs:59
↓ 14 callersMethodsend_reliable
(&mut self, payload: &[u8])
crates/tetra-entities/src/network/transports/tcp.rs:129
↓ 14 callersMethodset_raw_pos
Move pos to absolute location, irrespective of window. Ensure start <= pos <= end
crates/tetra-core/src/bitbuffer.rs:541
↓ 14 callersMethodstate_write
Write guard for mutable state.
crates/tetra-config/src/bluestation/config.rs:171
↓ 13 callersMethodregister_entity
(&mut self, entity: T)
crates/tetra-entities/tests/common/component_test.rs:182
↓ 12 callersMethodclear
(&mut self)
crates/tetra-entities/src/phy/components/fcfb.rs:396
↓ 12 callersMethodtry_recv
Non-blocking: receive a pending command, if any.
crates/tetra-entities/src/net_control/channel.rs:58
↓ 12 callersMethodul_get_usage
(&self, ts: TdmaTime)
crates/tetra-entities/src/umac/subcomp/bs_sched.rs:392
↓ 11 callersMethodget_next_chunk
Writes the next chunk to the bitbuffer, if there is space. First chunk is the provided resource, possibly changed to indicate fragmentation. Subsequen
crates/tetra-entities/src/umac/subcomp/bs_frag.rs:208
↓ 11 callersMethodinto_raw
Convert this enum back into the raw integer value
crates/tetra-pdus/src/mle/enums/mle_pdu_type_ul.rs:33
↓ 11 callersFunctionmake_control_link
Create a bidirectional (dispatcher, endpoint) pair. - The **dispatcher** (worker side) sends [`ControlCommand`]s and receives [`ControlResponse`]s. -
crates/tetra-entities/src/net_control/channel.rs:83
↓ 11 callersMethodwrite_bit
Write a single bit to pos
crates/tetra-core/src/bitbuffer.rs:311
↓ 10 callersMethodregister
Tolerant registration; if ISSI already registered, we overwrite it with a fresh Subscriber struct
crates/tetra-config/src/bluestation/state.rs:33
↓ 9 callersMethodget_pos
Get the current position, relative to window
crates/tetra-core/src/bitbuffer.rs:478
↓ 9 callersMethodinto_raw
Convert this enum back into the raw integer value
crates/tetra-saps/src/lcmc/enums/alloc_type.rs:28
↓ 9 callersMethodpeek_bits_startoffset
Peek `num_bits` with offset from window start, without advancing. Returns None on overflow or if `num_bits>64`.
crates/tetra-core/src/bitbuffer.rs:182
↓ 9 callersMethodread
(&mut self, buf: &mut [u8])
crates/tetra-entities/src/network/transports/websocket.rs:69
↓ 9 callersMethodregister_entity
(&mut self, entity: Box<dyn TetraEntityTrait>)
crates/tetra-entities/src/messagerouter.rs:78
↓ 9 callersMethodseek_rel
Move the current bit‐pointer by `offset` bits (can be negative). Panics if the resulting position would lie outside the window `[start..=end]`.
crates/tetra-core/src/bitbuffer.rs:497
↓ 9 callersMethodto_bitstr
Convert the entire window (start to end) into a String of '0'/'1' characters.
crates/tetra-core/src/bitbuffer.rs:154
↓ 8 callersMethodas_slice
(&self)
crates/tetra-core/src/ranges.rs:44
↓ 8 callersMethodconnect
(&mut self)
crates/tetra-entities/src/network/transports/tcp.rs:104
↓ 8 callersMethoddump_ul_schedule
(&self, skip_empty: bool)
crates/tetra-entities/src/umac/subcomp/bs_sched.rs:1219
↓ 8 callersMethodemit_subscriber_update
(&self, queue: &mut MessageQueue, issi: u32, groups: Vec<u32>, action: BrewSubscriberAction)
crates/tetra-entities/src/mm/mm_bs.rs:52
↓ 8 callersFunctionget_num_fill_bits
Returns the number of fill bits at the end of the PDU in bitbuf, given the total pdu_len_bits.
crates/tetra-entities/src/umac/subcomp/fillbits.rs:5
↓ 8 callersMethodinto_bitvec
Convert entire window (start to end) into an array with 0 or 1 value per byte
crates/tetra-core/src/bitbuffer.rs:454
↓ 8 callersFunctionis_brew_gssi_routable
Determine if a given GSSI should be routed over Brew, or is restricted to local handling
crates/tetra-entities/src/net_brew/components/brew_routable.rs:25
↓ 8 callersMethodmark_transmitted
Pending → Transmitted: MAC layer has sent the PDU over the air.
crates/tetra-core/src/tx_receipt.rs:129
↓ 8 callersFunctionparse_brew_message
Parse a raw binary Brew message into a typed BrewMessage
crates/tetra-entities/src/net_brew/protocol.rs:189
↓ 8 callersFunctionparse_type2_struct
Parse a Type-2 element into a struct that implements `from_bitbuf`.
crates/tetra-core/src/typed_pdu_fields.rs:88
↓ 8 callersMethodsend
(&self, event: TelemetryEvent)
crates/tetra-entities/src/net_telemetry/channel.rs:24
↓ 8 callersMethodul_process_cap_req
Tries to find a way to satisfy a granting request, and reserves the slots in the schedule. If successful, returns a BasicSlotgrant with the granting d
crates/tetra-entities/src/umac/subcomp/bs_sched.rs:320
↓ 8 callersFunctionwrite_type2_struct
Write a Type-2 element from a struct that implements `to_bitbuf`.
crates/tetra-core/src/typed_pdu_fields.rs:135
↓ 7 callersMethodaffiliate
Add GSSI to subscriber's attached groups and global set
crates/tetra-config/src/bluestation/state.rs:67
↓ 7 callersMethodcircuit_is_active
(&self, dir: Direction, ts: u8)
crates/tetra-entities/src/umac/subcomp/bs_sched.rs:494
↓ 7 callersFunctioncount_d_sds_data
Count D-SDS-DATA messages (LcmcMleUnitdataReq to Mle) in sink output
crates/tetra-entities/tests/test_sds_bs.rs:63
↓ 7 callersMethodget_raw_end
Get absolute value of window end, disregarding start of window
crates/tetra-core/src/bitbuffer.rs:516
↓ 7 callersMethodpop_front
(&mut self)
crates/tetra-entities/src/messagerouter.rs:44
↓ 7 callersFunctionread_u32_le
Read a little-endian u32 from a byte slice
crates/tetra-entities/src/net_brew/protocol.rs:155
↓ 7 callersFunctionregister_subscriber
Helper: register a subscriber ISSI in the StackState subscriber registry
crates/tetra-entities/tests/test_sds_bs.rs:20
↓ 7 callersMethodstate_read
Read guard for mutable state.
crates/tetra-config/src/bluestation/config.rs:166
↓ 7 callersMethodul_ts_to_sched_index
(&self, ts: &TdmaTime)
crates/tetra-entities/src/umac/subcomp/bs_sched.rs:223
↓ 6 callersMethodcheck_sequence
( &mut self, train_pos_in_burst: usize, burst_len: usize, train_type: Training
crates/tetra-entities/src/phy/components/demodulator.rs:485
↓ 6 callersMethoddeaffiliate
Remove GSSI from subscriber's attached groups. Update global set if no more subscribers are affiliated with this GSSI.
crates/tetra-config/src/bluestation/state.rs:74
↓ 6 callersMethoddelayed
Get a sample with a given delay
crates/tetra-entities/src/phy/components/history.rs:23
↓ 6 callersMethoddeliver_all_messages
(&mut self)
crates/tetra-entities/tests/common/component_test.rs:194
↓ 6 callersMethodis_active
(&self, dir: Direction, ts: u8)
crates/tetra-entities/src/umac/subcomp/circuit_mgr.rs:23
↓ 6 callersFunctionparse_type4_struct
Parse a Type-4 element into a Vec of structs that implement `from_bitbuf`.
crates/tetra-core/src/typed_pdu_fields.rs:438
↓ 6 callersMethodposition
Get the current file position
crates/tetra-entities/src/phy/components/phy_io_file.rs:141
↓ 6 callersMethodprocess
Return true if processing should be continued, false if a new demodulated slot is available.
crates/tetra-entities/src/phy/components/soapy_dev.rs:434
↓ 6 callersFunctiontetra_scramb_bits
Scramble or unscramble the given BitBuffer. Generate lfsr sequence for given lfsr initialization value and XOR it with the given buffer, for all bits
crates/tetra-entities/src/lmac/components/scrambler.rs:52
↓ 6 callersFunctiontetra_scramb_get_init
Compute the initial LFSR state from (mcc, mnc, colour).
crates/tetra-entities/src/lmac/components/scrambler.rs:63
↓ 6 callersMethodtry_send
Internal send implementation - does the actual I/O
crates/tetra-entities/src/network/transports/tcp.rs:78
↓ 6 callersFunctionwrite_type4_struct
Write a Type-4 element from a Vec of structs using a `to_bitbuf` function.
crates/tetra-core/src/typed_pdu_fields.rs:530
↓ 6 callersFunctionwrite_u16_le
Write a little-endian u16 to a byte vec
crates/tetra-entities/src/net_brew/protocol.rs:174
↓ 5 callersMethodage
(self, now: TdmaTime)
crates/tetra-core/src/tdma_time.rs:97
↓ 5 callersMethodcopy_bits_from_bitarr
(&mut self, buf: &[u8])
crates/tetra-core/src/bitbuffer.rs:435
↓ 5 callersMethoddecode
Decode bitcode bytes into a [`TelemetryEvent`].
crates/tetra-entities/src/net_telemetry/codec.rs:20
↓ 5 callersFunctiondecode_cp
Decodes control plane message from type5 to type1 bits Returns (buf, bool) tuple buf is BitBuffer with type1 bits if decoding successful bool is true
crates/tetra-entities/src/lmac/components/errorcontrol.rs:85
↓ 5 callersMethodderegister
Deregister an ISSI, removing it from the registry and cleaning up any group affiliations
crates/tetra-config/src/bluestation/state.rs:53
↓ 5 callersMethoddl_enqueue_grant
Registers that we should transmit a MAC-RESOURCE or similar with a grant, somewhere this tick
crates/tetra-entities/src/umac/subcomp/bs_sched.rs:405
↓ 5 callersMethodencode_command
Encode a [`Command`] to bitcode bytes.
crates/tetra-entities/src/net_control/codec.rs:19
↓ 5 callersFunctionencode_cp
Encodes control plane message from type1 to type5 bits Handles CP channels except AACH
crates/tetra-entities/src/lmac/components/errorcontrol.rs:19
↓ 5 callersMethodis_registered
(&self, issi: u32)
crates/tetra-config/src/bluestation/state.rs:28
next →1–100 of 1,532, ranked by callers