Hi colleagues,
I am trying to learn macOS kext programming. After some researches I've made a very simple IOKit kext which works. Now I want to try to make a command line client that could communicate with this kext. I created a new project in XCode as a C++ "Command Line Tool" and "HelloWorld" example compiles and builds fine.
But, when I add #include <IOKit/IOLib.h>, I immediately got an error "File not found". I have added IOKit.framework to the "Frameworks and Libraries" but have no idea what to do next. Please help.
I'd also appreciate any links with examples and/or documentation about how to make a simple kext and client for it.
Thank you
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi colleagues,
I am developing a water level sensor, which is quite simple and already working. The problem arises when I try to connect it to the Homekit. I attempted to find an appropriate service/characteristic to report the water level to the homekit and cannot find any yet. Found this https://developer.apple.com/documentation/homekit/hmcharacteristictypewaterlevel but as I see from the examples and description, it works with humidity services only. The question is, what is appropriate way to integrate water tank level sensor to the homekit? Which service/characteristic shall I use? This is my first experience with homekit, so any advices are greatly appreciated. Thank you!