add protocol.h for app

Signed-off-by: kevinhuhui <huhuikevin@gmail.com>