---
title: "ANCS and HID: Controlling Your iPhone From Zephyr"
url: https://daily.dev/posts/ancs-and-hid-controlling-your-iphone-from-zephyr-6dvwydlbc
source_url: https://www.embeddedrelated.com/showarticle/1669.php
type: article
source: "EmbeddedRelated"
published: 2026-05-31T07:48:30.016Z
updated: 2026-05-31T09:33:42.212Z
tags: ["embedded", "bluetooth"]
reading_time: 9
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# ANCS and HID: Controlling Your iPhone From Zephyr

**[EmbeddedRelated](https://daily.dev/sources/embeddedrelated)** · 9 min read · 0 upvotes · 0 comments

## Summary

A hands-on guide to turning an nRF52840 development kit into an iPhone hands-free controller using the Zephyr RTOS. Covers two BLE protocols: HID (Human Interface Device) for emulating a BLE keyboard to send media keys (volume, play/pause, next/previous track) and simulate a 2-second power button hold to launch Siri, and Apple Notification Center Service (ANCS) for receiving incoming call notifications and sending accept/decline actions. Includes HID report map byte definitions, bt_hids_inp_rep_send usage, ANCS client initialization, notification subscription, and callback implementation with code snippets throughout.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.embeddedrelated.com/showarticle/1669.php>

## Similar posts on daily.dev

- [iPhone notifications in Home Assistant with ANCS](https://daily.dev/posts/iphone-notifications-in-home-assistant-with-ancs-p2fbb3wrv) · /dev/io · 0 upvotes · 0 comments
- [How to Build Bluetooth Applications with Zephyr OS: A Handbook for Devs](https://daily.dev/posts/how-to-build-bluetooth-applications-with-zephyr-os-a-handbook-for-devs-zplcxfced) · freeCodeCamp · 2 upvotes · 0 comments
- [IPhone Becomes A Bluetooth Keyboard And Mouse](https://daily.dev/posts/iphone-becomes-a-bluetooth-keyboard-and-mouse-upqfh9vo0) · Hackaday · 0 upvotes · 0 comments

---

Tags: [#embedded](https://daily.dev/tags/embedded), [#bluetooth](https://daily.dev/tags/bluetooth)

[View this post on daily.dev](https://daily.dev/posts/ancs-and-hid-controlling-your-iphone-from-zephyr-6dvwydlbc)
