The rapid expansion of wireless body sensor networks (WBSNs) in healthcare, rehabilitation, and movement analysis demands precise time synchronization across sensor nodes to ensure reliable multimodal data fusion. Existing synchronization solutions for bluetooth low energy (BLE)-based WBSNs often rely on hardware-level timestamping or operate in advertising mode, limiting their scalability, interoperability, or usability in real-time interactive applications. In this article, we present SharkTooth, a novel, scalable, and real-time synchronization algorithm that operates entirely at the application layer of BLE. Unlike prior approaches, SharkTooth does not require any firmware modifications or specialized hardware, and it is compatible with commercial off-the-shelf BLE devices. The algorithm employs an adaptive timestamp correction technique that mitigates both deterministic drift and unpredictable delays caused by packet retransmissions and protocol variability. Extensive experimental validation using up to 12 sensor nodes and 18 BLE network configurations demonstrates sub-millisecond synchronization accuracy, with a median absolute average synchronization error between 0.21 and 0.62 ms, even in congested network scenarios. Compared to state-of-the-art solutions, SharkTooth is uniquely capable of delivering robust, long-term synchronization in high-throughput, multinode systems using only connection-based BLE communication. By prioritizing compatibility, reproducibility, and real-world performance, SharkTooth advances the design of scalable and interoperable WBSNs for next-generation biomedical and wearable IoT applications.
The application of functional electrical stimulation (FES) to restore hand motor function remains challenging due to the difficulty of calibrating multi-channel stimulation to produce coordinated finger movements. This study proposes a compositional FES calibration framework to customize the stimulation of isolated finger actions and enable their combination into functional hand gestures. The proposed method was validated through a two-session experimental study involving thirteen participants. In the first session, subject-specific stimulation sites and parameters were identified for eight individual finger movements using a structured spatial grid defined over the forearm. The second session, conducted on a subset of five participants, evaluated the generation of seven hand gestures derived from combinations of the isolated movements. Results showed that ten of the thirteen participants achieved at least six movements, while three participants successfully elicited all targeted motions. Successfully elicited movements were generally well isolated, although thumb and ring/little finger extensions proved more difficult to isolate. The second session demonstrated that individually calibrated finger activations can be combined to produce coordinated multi-finger movement patterns, with average finger excursions matching the expected motions. Overall, these preliminary results support the use of compositional calibration strategies to achieve functional multi-finger control with multi-channel FES.