# Global Smart EV Charger Full-Stack Platform (OCPP 1.6 + BLE)
> Canonical: https://space-bit.com/solutions/ocpp-ev-charger/ | Alternate: https://spacebit.cn/solutions/ocpp-ev-charger/

Built for clean-energy OEMs exporting to Europe, the UK, and ANZ: combine cloud OCPP 1.6, zero-signal garage BLE fallback, buffer-safe constrained OTA, and store-compliant mobile + web apps.

## TL;DR Export Engineering Summary (Citable Facts)
- Dual-Path Garage Reliability: OCPP 1.6 cloud control with 8 recurring off-peak tariff schedules seamlessly converges with local BLE fallback via monotonic state versioning.
- Buffer-Safe Constrained OTA: Replaces overlong cloud presigned URLs that low-RAM MCUs truncate with fixed short-signed endpoints, HTTP Range chunking, per-chunk CRC, and dual-slot A/B rollback.
- Lean Cloud + Store Compliance: Re-architected into a single-binary Go backend to slash AWS costs; ships with Flutter iOS/Android (Sign in with Apple + UK/EU GDPR) and Next.js installer-matched storefront.

## Key Metrics
- **OCPP 1.6**: Full-duplex charger protocol
- **BLE + Cloud**: Monotonic conflict resolution
- **8 Rules**: Off-peak smart tariff engine
- **Range OTA**: Short URLs + A/B rollback

## Export EVSE Stack vs. Fragile Approaches
|Layer|Spacebit Export Architecture|Common Launch Blocker|Business Outcome|
|---|---|---|---|
|Control Plane|OCPP 1.6 + BLE with monotonic version arbitration|Garage dead zones break cloud-only charging|Instant control online or offline|
|Constrained OTA|Short-signed URLs + HTTP Range + A/B rollback|Long S3/OSS presigned URLs truncated by MCU|Zero bricked chargers in the field|
|Smart Tariffs|8 recurring off-peak schedules + AI fault triage|Manual start/stop fails EU smart-tariff expectations|Higher driver retention & SKU value|
|Mobile Compliance|Flutter apps with Sign in with Apple & UK/EU GDPR|Repeated Apple/Google store rejections|Day-one international store readiness|
|Cloud & Web|Single-binary Go + Next.js storefront (postcode installer match)|Bloated microservices inflate monthly AWS bills|Low opex + direct D2C/installer flow|

## Production Architecture Breakdown
### 01 · Monotonic OCPP + BLE State Convergence
Every charging schedule, plug lock, and current limit carries a monotonic state version so underground BLE adjustments never collide with cloud OCPP commands upon reconnect.

### 02 · Constrained MCU Range OTA
Serves compact short-signed binary endpoints within embedded URL buffer limits, streaming HTTP Range chunks with CRC verification and automated 1% → 10% → 50% → 100% canary halts.

### 03 · Export Storefront & Compliance Layer
Pairs Flutter mobile apps (Apple/Google login, GDPR consent & deletion flows) with a Next.js D2C storefront featuring anti-oversell inventory locks and certified postcode installer matching.

## Adjacent Export Hardware Verticals
Portable power stations & balcony solar, Robotic lawn mowers & pool cleaners, Smart heat pumps & home battery inverters, Commercial workplace AC/DC EVSE fleets

## Technical & Commercial FAQ
### Why do constrained EVSE or IoT MCUs fail OTA even when cloud storage returns HTTP 200?
Long S3/OSS presigned URLs frequently exceed fixed C buffer limits inside embedded Wi-Fi/4G modules and get silently truncated mid-query-string. Short-signed fixed URLs plus HTTP Range chunking eliminate this failure mode.

### Can Spacebit integrate with our existing OCPP 1.6 firmware and BLE characteristic map?
Yes. Before coding, we audit your existing OCPP 1.6J messages and BLE GATT table so you keep your hardware certification intact.

### Do we own the Go backend, Flutter source code, and AWS deployment scripts?
100%. Every repository, database schema, protocol specification, and CI/CD deployment playbook transfers directly into your own AWS or GCP account.

### How do you handle UK Smart Charging Regulations, OCPP 1.6J TxDefaultProfile, and secondary SPI Flash rollback?
Our Go CSMS ships with OCPP 1.6J TxDefaultProfile off-peak rules, UK Smart Charging randomized delay and default schedules, and fault-tolerant UpdateFirmware state tracking. On low-flash MCUs, our firmware spec stages verified chunks on the comms co-processor or external SPI Flash with dual-slot A/B bootloader rollback and PEN fault telemetry support.

## Contact & Live Demo
- Email: zhangze1029@gmail.com | Phone: +86 131-2096-3160 | WeChat: zzx_ing