Background
Ofo, once one of the world’s largest shared bicycle platforms, relied on embedded IoT devices in every bike to enable location tracking, remote locking, and real-time monitoring. These smart locks and control units were powered by RTOS systems with constrained resources—just 4MB of RAM and 4MB of Flash memory. Delivering software updates to these devices across geographically dispersed areas presented a series of technical and logistical hurdles. Ofo required a lightweight and robust over-the-air (OTA) software update solution to help manage its fleets.
The Challenge
Ofo needed an OTA solution that could:
- Handle resource-constrained devices: Each unit had only 4MB RAM and 4MB Flash, with a strict requirement to keep OTA packages under 300KB and limit RAM usage during updates to 1.5MB.
- Support multiple network types: Bikes used various connectivity options including NB-IoT, 2G, 3G, and 4G depending on their deployment region.
- Enable regional, phased rollouts: Updates had to be scheduled across different zones and time windows to avoid server overloads and network congestion.
- Ensure high reliability: As devices were in constant use in public environments, any failed update could lead to operational downtime or loss of service.
The Redstone OTA Solution
Redstone OTA, an enterprise-grade update platform with 14 years of proven field stability, provided Ofo with a customized solution tailored for its unique device and deployment landscape:
- Lightweight Update Packages: Redstone OTA’s differential update algorithm kept firmware packages well below the 300KB limit. Combined with intelligent compression, this ensured successful transfers even over low-bandwidth NB-IoT and 2G networks.
- Memory-Efficient Execution: Redstone engineered a lightweight OTA client to run within the 1.5MB RAM footprint, fully compatible with Ofo’s RTOS-based environment.
- Multi-Network Adaptability: Redstone OTA dynamically adjusted its transmission protocol to suit NB-IoT, 2G, 3G, and 4G networks, ensuring stable delivery regardless of the connectivity standard.
- Staged and Geo-Fenced Rollouts: Through Redstone’s customizable update policies, Ofo was able to define region-based rules and time windows to roll out updates by zone, avoiding server overload and allowing smooth coordination with maintenance teams.
- Resilient and Secure Updates: Redstone OTA’s robust power-failure recovery ensured that bikes could resume interrupted updates safely after reconnection. End-to-end encryption and secure authentication protected the update process against unauthorized access or tampering.
The Result
By partnering with Redstone OTA, Ofo successfully upgraded its entire smart bike fleet without compromising system integrity or user experience. The implementation enabled:
- Over 95% update success rate even in low-bandwidth areas
- Zero bricked devices due to update failures
- Streamlined update operations across thousands of cities and regions
- Faster issue resolution and enhanced feature rollout with minimal operational disruption
Conclusión
The collaboration between Ofo and Redstone OTA demonstrates how even ultra-constrained IoT environments can benefit from enterprise-grade update management. Redstone’s flexible, secure, and efficient OTA solution empowered Ofo to maintain device health, enhance system features, and ensure customer satisfaction at scale.
To learn more about how Redstone OTA can support your connected products, visit our website.




